aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-13 21:59:55 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-02-13 21:59:55 +0100
commit595bf40c7042e565737641677525301cf79aa184 (patch)
treeb8d53717b922522d9381300641a0d13a3c5d3d98
parent4dd673157b05fea5fe3643f16e22d01bbf005fe9 (diff)
Add a simple TODO
-rw-r--r--app/views/index/index.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 4545a33e4..1810a95b3 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -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);