Improves an error message.

This commit is contained in:
Luka Vandervelden 2019-12-17 13:40:10 +01:00
parent b5c055b553
commit 6b08786947

View File

@ -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"