forked from External/ergo
General comments, fix misspellings and lints
This commit is contained in:
parent
124139c097
commit
1c0c4841a1
9 changed files with 81 additions and 38 deletions
|
|
@ -98,6 +98,7 @@ type OperConfig struct {
|
|||
Modes string
|
||||
}
|
||||
|
||||
// PasswordBytes returns the bytes represented by the password hash.
|
||||
func (conf *OperConfig) PasswordBytes() []byte {
|
||||
bytes, err := DecodePasswordHash(conf.Password)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue