remove password hash logging
This commit is contained in:
parent
7fdf88eaa8
commit
3572fd4e7b
|
@ -1,23 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
- permissions for /var/lib/peachcloud
|
|
||||||
- everything fails if we don't have write permissions
|
|
||||||
- can't write config
|
|
||||||
|
|
||||||
- configure admin (add new admin)
|
|
||||||
- isn't persisted to config.yml
|
|
||||||
- on second try, it is persisted
|
|
||||||
|
|
||||||
- password reset via ssb pm is now working
|
|
||||||
- it sends a temporary password but says nothing about username
|
|
||||||
- what is the default username?
|
|
||||||
- why do we even have a username?
|
|
||||||
|
|
||||||
- login with temporary password fails
|
|
||||||
- "Invalid password: Password error: hash value in YAML configuration file is empty."
|
|
||||||
|
|
||||||
- things are generally working now :)
|
|
||||||
|
|
||||||
- for all form inputs:
|
|
||||||
- use a proper label (not just a placeholder)
|
|
||||||
- login
|
|
|
@ -181,7 +181,6 @@ pub fn set_admin_password_hash(password_hash: &str) -> Result<PeachConfig, Peach
|
||||||
|
|
||||||
pub fn get_admin_password_hash() -> Result<String, PeachError> {
|
pub fn get_admin_password_hash() -> Result<String, PeachError> {
|
||||||
let peach_config = load_peach_config()?;
|
let peach_config = load_peach_config()?;
|
||||||
debug!("Admin password hash: {}", peach_config.admin_password_hash);
|
|
||||||
if !peach_config.admin_password_hash.is_empty() {
|
if !peach_config.admin_password_hash.is_empty() {
|
||||||
Ok(peach_config.admin_password_hash)
|
Ok(peach_config.admin_password_hash)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue