database: drop unnecessary comment

The error message is clear enough already.
This commit is contained in:
Simon Ser 2023-11-01 00:03:14 +01:00
parent 1e5fac0e0a
commit 5bd38100c6
1 changed files with 0 additions and 1 deletions

View File

@ -106,7 +106,6 @@ func NewUser(username string) *User {
}
func (u *User) CheckPassword(password string) (upgraded bool, err error) {
// Password auth disabled
if u.Password == "" {
return false, fmt.Errorf("password auth disabled")
}