forked from External/ergo
Fixing warnings and golint stuff
This commit is contained in:
parent
09802f7181
commit
e807f3ca04
8 changed files with 25 additions and 13 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue