Explorar o código

Reduce data exposure

Zachary Kotlarek %!s(int64=10) %!d(string=hai) anos
pai
achega
8f922bd6bd
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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';
 		}
 	}