Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix trim user id
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Apr 26, 2018
1 parent c24e837 commit 4ffb470
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,7 +75,7 @@ function tryToLogUser(\Psr\Http\Message\ServerRequestInterface &$request, \Psr\H

try {

$loggedUser = AuthService::logUser($localHttpLogin, $localHttpPassw, false, false);
$loggedUser = AuthService::logUser(trim($localHttpLogin), $localHttpPassw, false, false);
$request = $request->withAttribute("ctx", Context::contextWithObjects($loggedUser, null));
return true;

Expand Down

0 comments on commit 4ffb470

Please sign in to comment.