mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Regenerate session ID on logout
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
730632e2eb
commit
274f82893f
|
@ -382,8 +382,8 @@ class LoginController extends Controller
|
|||
if (!empty($sloRequestUrl)) {
|
||||
return redirect()->away($sloRequestUrl);
|
||||
}
|
||||
|
||||
$request->session()->forget('2fa_authed');
|
||||
|
||||
$request->session()->regenerate(true);
|
||||
|
||||
Auth::logout();
|
||||
|
||||
|
|
Loading…
Reference in a new issue