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

Update authentication.php

FusionPBX 6 жил өмнө
parent
commit
e49fe4d52c

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

@@ -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;
 					}
 				}