mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-16 03:15:59 +00:00
[Web] Fix permission exception in IdP actions
This commit is contained in:
@@ -5,6 +5,8 @@ if (session_status() !== PHP_SESSION_ACTIVE) {
|
||||
ini_set('session.gc_maxlifetime', $SESSION_LIFETIME);
|
||||
}
|
||||
|
||||
$_SESSION['access_all_exception'] = '0';
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
|
||||
strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == "https") {
|
||||
if (session_status() !== PHP_SESSION_ACTIVE) {
|
||||
|
||||
Reference in New Issue
Block a user