Skip to content

Commit

Permalink
Merge pull request #10 from karabelnikov/patch-1
Browse files Browse the repository at this point in the history
Message Error
  • Loading branch information
bnhf authored Dec 7, 2022
2 parents e42023b + e7d226e commit 8f45fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *LoginController) Logout() {
}

func Authenticate(login string, password string) (user *models.User, err error) {
msg := "invalid login or password."
msg := "Invalid login or password"
user = &models.User{Login: login}

if err := user.Read("Login"); err != nil {
Expand Down

0 comments on commit 8f45fd7

Please sign in to comment.