test
This commit is contained in:
parent
23beae3761
commit
54751614c8
@ -65,7 +65,7 @@ class LoginController extends Controller {
|
||||
{
|
||||
Session::forget('admin');
|
||||
Auth::logout();
|
||||
return redirect()->guest('login');
|
||||
return redirect('login');
|
||||
}
|
||||
|
||||
public function forgottenPassword()
|
||||
|
@ -60,7 +60,7 @@ Route::group(['middleware' => 'ifReferent'], function ()
|
||||
Route::post('referent/changerparamliste', 'ReferentController@changerParamListe');
|
||||
Route::post('referent/changeParamListe/{id}', 'ReferentController@changeParamListe');
|
||||
Route::post('referent/update', 'ReferentController@update');
|
||||
Route::get('logout', 'LoginController@logout');
|
||||
|
||||
});
|
||||
|
||||
// ADMIN PART
|
||||
@ -71,5 +71,6 @@ Route::group(['middleware' => 'ifAdmin'], function ()
|
||||
Route::get('admin/deleteUser/{id}', 'AdminController@deleteUser');
|
||||
Route::get('admin/updateUser/{id}', 'AdminController@updateUser');
|
||||
Route::get('admin/logAs/{id}', 'AdminController@logAs');
|
||||
Route::get('logout', 'LoginController@logout');
|
||||
});
|
||||
|
||||
Route::get('logout', 'LoginController@logout');
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user