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