Improves an error message.
This commit is contained in:
parent
b5c055b553
commit
6b08786947
@ -81,7 +81,7 @@ class AuthD::Service
|
||||
|
||||
Response::UserAdded.new user.to_public
|
||||
when Request::GetUserByCredentials
|
||||
user = @users_per_login.get request.login
|
||||
user = @users_per_login.get? request.login
|
||||
|
||||
unless user
|
||||
return Response::Error.new "invalid credentials"
|
||||
|
Loading…
Reference in New Issue
Block a user