FEATURE #1358: add interface Authenticable to User model.

It seems that Laravel needs User models (users which are about to authenticate) to implement Authenticable interface.
This commit is contained in:
Michal Kváček
2016-01-21 01:41:10 +01:00
parent e412fc27fc
commit cff9f7dbac
4 changed files with 80 additions and 17 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ Route::group(['middleware' => ['web']], function () {
});
// POST methods
Route::post('admin/login', 'Admin\Login@postLogin')
Route::post('login', 'Admin\Login@postLogin')
->name('login');
});