Explorar o código

Add a log line in greader API.

See https://github.com/FreshRSS/FreshRSS/issues/747
Marien Fressinaud %!s(int64=11) %!d(string=hai) anos
pai
achega
e7e7a320d6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      p/api/greader.php

+ 1 - 0
p/api/greader.php

@@ -152,6 +152,7 @@ function authorizationToUserConf() {
 			if (ctype_alnum($user)) {
 				$conf = get_user_configuration($user);
 				if (is_null($conf)) {
+					logMe('Invalid configuration API file for user ' . $user);
 					unauthorized();
 				}
 				$system_conf = Minz_Configuration::get('system');