Some additions
This commit is contained in:
@ -81,7 +81,7 @@ func (c *AuthController) Login() {
|
||||
return
|
||||
}
|
||||
|
||||
if password != userCompanyMapping.PasswordHash { // TODO: Hash me
|
||||
if !tokenTools.CheckPasswordHash(password, userCompanyMapping.PasswordHash) {
|
||||
c.ServeJSONError("Email/Password incorrect")
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user