aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-05 21:04:42 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-05 21:04:42 +0100
commit7fa4344c8bee670e782632a64ec2884bec4d6cc5 (patch)
treead4c041fec9291599a63284f62d629b6e493b0d5 /app
parentb5bf5760bffc60a8e071e85604e0fcfe994710ef (diff)
Fix invalid login message (#7066)
fix https://github.com/FreshRSS/FreshRSS/issues/7061
Diffstat (limited to 'app')
-rw-r--r--app/Controllers/javascriptController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/javascriptController.php b/app/Controllers/javascriptController.php
index 2cdf75d03..0cbcd0bd0 100644
--- a/app/Controllers/javascriptController.php
+++ b/app/Controllers/javascriptController.php
@@ -78,5 +78,6 @@ class FreshRSS_javascript_Controller extends FreshRSS_ActionController {
$this->view->salt1 .= $alphabet[random_int(0, 63)];
}
$this->view->nonce = sha1('' . mt_rand());
+ Minz_Session::_param('nonce', $this->view->nonce);
}
}