Refactoring some auth code.

This commit is contained in:
Taylor Otwell
2012-05-01 13:12:32 -05:00
parent de7046cc66
commit f050f7731b
3 changed files with 38 additions and 46 deletions

View File

@@ -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