mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
fix webirc password handling
This commit is contained in:
parent
dfb0a57040
commit
eb5f2c1db9
1 changed files with 0 additions and 2 deletions
|
|
@ -27,9 +27,7 @@ func (wc *webircConfig) Populate() (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if wc.PasswordString != "" {
|
if wc.PasswordString != "" {
|
||||||
var password []byte
|
|
||||||
wc.Password, err = decodeLegacyPasswordHash(wc.PasswordString)
|
wc.Password, err = decodeLegacyPasswordHash(wc.PasswordString)
|
||||||
wc.Password = password
|
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue