Commit fb1232a7ded88275479e9e6dcb9e3792e06a134b
1 parent
5a8c9318
test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -20,7 +20,7 @@ class UserController extends CrudResourceController |
20 | 20 | { |
21 | 21 | $username = $this->request->getUsername(); |
22 | 22 | $password = $this->request->getPassword(); |
23 | - return $username; | |
23 | + return \App\Auth\UsernameAccountType::NAME; | |
24 | 24 | $session = $this->authManager->loginWithUsernamePassword(\App\Auth\UsernameAccountType::NAME, $username, |
25 | 25 | $password); |
26 | 26 | ... | ... |