aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/index.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-18 01:38:11 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-18 01:38:11 +0100
commitdda7b002def51405bab82bd4a31fc3ad8c33c572 (patch)
treea549a0c10eaffd49491c7f68999fdaa7d6d698ca /app/views/index/index.phtml
parent41033768c3eacbd564c3ec15455587e4f725a055 (diff)
Corrections mode anonyme avec formulaire
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/361
Diffstat (limited to 'app/views/index/index.phtml')
-rw-r--r--app/views/index/index.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 9b69233e9..9a7c9f3b9 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -21,8 +21,8 @@ if ($this->loginOk || Minz_Configuration::allowAnonymous()) {
if ($token_is_ok) {
$this->renderHelper ('view/rss_view');
} else {
- $this->renderHelper ('view/login');
+ Minz_Request::forward(array('c' => 'index', 'a' => 'formLogin'), true);
}
} else {
- $this->renderHelper ('view/login');
+ Minz_Request::forward(array('c' => 'index', 'a' => 'formLogin'), true);
}