regenerate session id after logging out
This commit is contained in:
parent
4ee1d0a78a
commit
1618707e5d
@ -84,6 +84,7 @@ class AuthController extends Controller
|
||||
setcookie('token', '', time() - 3600, '/');
|
||||
|
||||
Session::flush();
|
||||
Session::regenerate();
|
||||
|
||||
return json(trans('auth.logout.success'), 0);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user