소스 검색

Better log in case of nonce errors

https://github.com/FreshRSS/FreshRSS/issues/676
Alexandre Alapetite 11 년 전
부모
커밋
a235f003bd
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/Controllers/javascriptController.php

+ 2 - 0
app/Controllers/javascriptController.php

@@ -39,6 +39,8 @@ class FreshRSS_javascript_Controller extends Minz_ActionController {
 			} catch (Minz_Exception $me) {
 				Minz_Log::warning('Nonce failure: ' . $me->getMessage());
 			}
+		} else {
+			Minz_Log::notice('Nonce failure due to invalid username!');
 		}
 		$this->view->nonce = '';	//Failure
 		$this->view->salt1 = '';