mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-25 11:06:22 -05:00
Better log in case of nonce errors
https://github.com/FreshRSS/FreshRSS/issues/676
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user