Commit 161ddcee9af0367102d15dc4af9a71ac6968a73a
1 parent
ab147bef
username => name in auth
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Auth/UsernameAccountType.php
@@ -7,7 +7,7 @@ use Phalcon\Di; | @@ -7,7 +7,7 @@ use Phalcon\Di; | ||
7 | 7 | ||
8 | class UsernameAccountType implements \PhalconApi\Auth\AccountType | 8 | class UsernameAccountType implements \PhalconApi\Auth\AccountType |
9 | { | 9 | { |
10 | - const NAME = "username"; | 10 | + const NAME = "name"; |
11 | 11 | ||
12 | public function login($data) | 12 | public function login($data) |
13 | { | 13 | { |