mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 17:28:11 -07:00
Fixing warnings and golint stuff
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ func (conf *TLSListenConfig) Config() (*tls.Config, error) {
|
||||
}
|
||||
|
||||
func (conf *PassConfig) PasswordBytes() []byte {
|
||||
bytes, err := DecodePassword(conf.Password)
|
||||
bytes, err := DecodePasswordHash(conf.Password)
|
||||
if err != nil {
|
||||
log.Fatal("decode password error: ", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user