Эх сурвалжийг харах

Update authentication.php

Update the session username if authorized is true.
FusionPBX 9 жил өмнө
parent
commit
a870459bd3

+ 1 - 0
core/authentication/resources/classes/authentication.php

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