Refactoring some auth code.
This commit is contained in:
@@ -18,6 +18,19 @@ return array(
|
||||
|
||||
'driver' => 'eloquent',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Username
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the database column that should be considered the
|
||||
| "username" for your users. Typically, this will either be "usenrame"
|
||||
| or "email". Of course, you're free to change the value to anything.
|
||||
|
|
||||
*/
|
||||
|
||||
'username' => 'email',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Model
|
||||
|
||||
Reference in New Issue
Block a user