소스 검색

Update authentication.php

Update the session username if authorized is true.
FusionPBX 9 년 전
부모
커밋
8440ef19be
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/authentication/resources/classes/authentication.php

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