3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

fix webirc password handling

This commit is contained in:
Shivaram Lingamneni 2018-08-06 04:55:39 -04:00
parent dfb0a57040
commit eb5f2c1db9

View File

@ -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
} }