Parcourir la source

Reduce data exposure

Zachary Kotlarek il y a 10 ans
Parent
commit
8f922bd6bd
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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';
 		}
 	}