mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Possible fix for logout session not being flushed
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cab29745e7
commit
5fbafb8a6a
|
@ -415,10 +415,8 @@ class LoginController extends Controller
|
|||
return redirect()->away($sloRequestUrl);
|
||||
}
|
||||
|
||||
$request->session()->regenerate(true);
|
||||
|
||||
$request->session()->regenerate(true);
|
||||
Auth::logout();
|
||||
$request->session()->flush();
|
||||
|
||||
if (!empty($sloRedirectUrl)) {
|
||||
return redirect()->away($sloRedirectUrl);
|
||||
|
|
Loading…
Reference in a new issue