Commit e849e708f5309d74361b294c4aaa24df3a6854e3
1 parent
f99475ea
test
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -18,6 +18,7 @@ class UserController extends CrudResourceController |
18 | 18 | |
19 | 19 | public function authenticate() |
20 | 20 | { |
21 | + return "123"; | |
21 | 22 | $username = $this->request->getUsername(); |
22 | 23 | $password = $this->request->getPassword(); |
23 | 24 | |
... | ... | @@ -41,9 +42,7 @@ class UserController extends CrudResourceController |
41 | 42 | public function whitelist() |
42 | 43 | { |
43 | 44 | return [ |
44 | - 'email', | |
45 | - 'username', | |
46 | - 'password' | |
45 | + 'test' | |
47 | 46 | ]; |
48 | 47 | } |
49 | 48 | ... | ... |