Regenerate session ID on logout

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-12 10:38:00 -07:00
parent 730632e2eb
commit 274f82893f
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -383,7 +383,7 @@ class LoginController extends Controller
return redirect()->away($sloRequestUrl);
}
$request->session()->forget('2fa_authed');
$request->session()->regenerate(true);
Auth::logout();