mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix empty session username (#7119)
This commit is contained in:
@@ -368,7 +368,7 @@ class authentication {
|
||||
$_SESSION['authorized'] = true;
|
||||
|
||||
//add the username to the session - username session could be set so check_auth uses an authorized session variable instead
|
||||
$_SESSION['username'] = $result["username"];
|
||||
$_SESSION['username'] = $_SESSION['user']["username"];
|
||||
|
||||
} //authorized true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user