浏览代码

Reduce data exposure

Zachary Kotlarek 10 年之前
父节点
当前提交
8f922bd6bd
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      web/includes/auth.php

+ 2 - 1
web/includes/auth.php

@@ -25,7 +25,8 @@ function login($username, $password) {
 	if ($authenticated) {
 		$authorized = myplexAuthorize($token);
 		if (!$authorized) {
-			$AUTH_ERR = 'Not Authorized';
+			$AUTH_ERR = 'Invalid Credentials';
+			#$AUTH_ERR = 'Not Authorized';
 		}
 	}