Commit 5a8c93180e3b4288945f5bd24d3b47cfe8c5f96d
1 parent
580303e7
test
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| ... | ... | @@ -20,10 +20,9 @@ class UserController extends CrudResourceController |
| 20 | 20 | { |
| 21 | 21 | $username = $this->request->getUsername(); |
| 22 | 22 | $password = $this->request->getPassword(); |
| 23 | - | |
| 23 | + return $username; | |
| 24 | 24 | $session = $this->authManager->loginWithUsernamePassword(\App\Auth\UsernameAccountType::NAME, $username, |
| 25 | 25 | $password); |
| 26 | - return "123"; | |
| 27 | 26 | |
| 28 | 27 | $transformer = new \App\Transformers\UserTransformer; |
| 29 | 28 | $transformer->setModelClass('App\Model\User'); | ... | ... |