mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-23 01:33:29 +00:00
[Web] Initial ratelimit support, more API actions
This commit is contained in:
1 parent
256c9d86dd
commit
84ad579437
12 files changed
+855
-700
No files matched your search
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
// Start session
|
||||
ini_set("session.cookie_httponly", 1);
|
||||
ini_set('session.gc_maxlifetime', $SESSION_LIFETIME);
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
|
||||
strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == "https") {
|
||||
ini_set("session.cookie_secure", 1);
|
||||
|
||||
Reference in new issue
Block a user