Просмотр исходного кода

Better log in case of nonce errors

https://github.com/FreshRSS/FreshRSS/issues/676
Alexandre Alapetite 11 лет назад
Родитель
Сommit
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 = '';