Update authentication.php

Update the session username if authorized is true.
This commit is contained in:
FusionPBX 2016-10-03 21:35:34 -06:00 committed by GitHub
parent bcb7881255
commit a1fb76f4be
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ class authentication {
$result['results'][] = $array;
}
if ($result["authorized"] == "true") {
$_SESSION['username'] = $result["username"];
break;
}
}