Logout redirection call must reach the server
On Firefox 130 the logout (301 redirection to admin page) is getting cached and hence the logout action does not take place. Adding Cache-control to specify the browser to not-cache this is required for logout to work properly.
This commit is contained in:
parent
3c02c86498
commit
134d8faa85
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ class Redirect {
|
|||
|
||||
public static function admin()
|
||||
{
|
||||
header('Cache-Control: no-store');
|
||||
self::url(HTML_PATH_ADMIN_ROOT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue