浏览代码

Update authentication.php

Update the session username if authorized is true.
FusionPBX 9 年之前
父节点
当前提交
a870459bd3
共有 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;
 					}
 				}