mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-17 05:58:26 +00:00
Update check_auth.php
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
ini_set("session.use_only_cookies", True);
|
||||
ini_set("session.cookie_httponly", True);
|
||||
if ($_SERVER["HTTPS"] == "on") { ini_set("session.cookie_secure", True); }
|
||||
session_start();
|
||||
if (!isset($_SESSION)) { session_start(); }
|
||||
|
||||
//if the username session is not set the check username and password
|
||||
if (strlen($_SESSION['username']) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user