mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-03 22:25:04 -04:00
Add a simple TODO
This commit is contained in:
@@ -17,6 +17,8 @@ if ($this->loginOk || Minz_Configuration::allowAnonymous()) {
|
||||
$this->renderHelper ('view/normal_view');
|
||||
}
|
||||
} elseif ($output === 'rss') {
|
||||
// TODO: verification of token and redirection must be done in the
|
||||
// controller, not in the view
|
||||
$token = $this->conf->token;
|
||||
$token_param = Minz_Request::param ('token', '');
|
||||
$token_is_ok = ($token != '' && $token == $token_param);
|
||||
|
||||
Reference in New Issue
Block a user