Don't show login page if you're already logged in
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/auth/login', 'AuthController@showLogin');
|
Route::get('/auth/login', 'AuthController@showLogin')->before('guest');
|
||||||
Route::group(['before' => 'auth'], function() {
|
Route::group(['before' => 'auth'], function() {
|
||||||
// Dashboard/Management Panel etc.
|
// Dashboard/Management Panel etc.
|
||||||
Route::get('/dashboard', 'DashboardController@showDashboard');
|
Route::get('/dashboard', 'DashboardController@showDashboard');
|
||||||
|
|||||||
Reference in New Issue
Block a user