database: drop unnecessary comment
The error message is clear enough already.
This commit is contained in:
parent
1e5fac0e0a
commit
5bd38100c6
@ -106,7 +106,6 @@ func NewUser(username string) *User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (u *User) CheckPassword(password string) (upgraded bool, err error) {
|
func (u *User) CheckPassword(password string) (upgraded bool, err error) {
|
||||||
// Password auth disabled
|
|
||||||
if u.Password == "" {
|
if u.Password == "" {
|
||||||
return false, fmt.Errorf("password auth disabled")
|
return false, fmt.Errorf("password auth disabled")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user