浏览代码

Fix invalid login message (#7066)

fix https://github.com/FreshRSS/FreshRSS/issues/7061
Alexandre Alapetite 1 年之前
父节点
当前提交
7fa4344c8b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Controllers/javascriptController.php

+ 1 - 0
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->salt1 .= $alphabet[random_int(0, 63)];
 		}
 		}
 		$this->view->nonce = sha1('' . mt_rand());
 		$this->view->nonce = sha1('' . mt_rand());
+		Minz_Session::_param('nonce', $this->view->nonce);
 	}
 	}
 }
 }