Improves an error message.

ipc07
Luka Vandervelden 2019-12-17 13:40:10 +01:00
parent b5c055b553
commit 6b08786947
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class AuthD::Service
Response::UserAdded.new user.to_public Response::UserAdded.new user.to_public
when Request::GetUserByCredentials when Request::GetUserByCredentials
user = @users_per_login.get request.login user = @users_per_login.get? request.login
unless user unless user
return Response::Error.new "invalid credentials" return Response::Error.new "invalid credentials"