mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update authentication.php
Update the session username if authorized is true.
This commit is contained in:
@@ -91,6 +91,7 @@ class authentication {
|
||||
$result['results'][] = $array;
|
||||
}
|
||||
if ($result["authorized"] == "true") {
|
||||
$_SESSION['username'] = $result["username"];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user