Commit 2d1d9f988113ccf427555a0126b18643825a9bdf
1 parent
d7604b3f
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 | { |