mirror of
https://github.com/ergochat/ergo.git
synced 2025-01-03 08:32:43 +01:00
fix webirc password handling
This commit is contained in:
parent
dfb0a57040
commit
eb5f2c1db9
@ -27,9 +27,7 @@ func (wc *webircConfig) Populate() (err error) {
|
||||
}
|
||||
|
||||
if wc.PasswordString != "" {
|
||||
var password []byte
|
||||
wc.Password, err = decodeLegacyPasswordHash(wc.PasswordString)
|
||||
wc.Password = password
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user