Commit 9329246c887a48208d91cd30e0ff9f9677f4d21d
1 parent
962d23ec
back
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -41,8 +41,8 @@ class UserController extends CrudResourceController | @@ -41,8 +41,8 @@ class UserController extends CrudResourceController | ||
41 | public function whitelist() | 41 | public function whitelist() |
42 | { | 42 | { |
43 | return [ | 43 | return [ |
44 | - 'firstName', | ||
45 | - 'lastName', | 44 | + 'email', |
45 | + 'username', | ||
46 | 'password' | 46 | 'password' |
47 | ]; | 47 | ]; |
48 | } | 48 | } |