mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-26 04:58:40 -04:00
Auto-redirect from formLogin if already logged in
This commit is contained in:
1 parent
f0dbe3c3ee
commit
a14d325432
1 file changed
+4
@@ -337,6 +337,10 @@ class FreshRSS_index_Controller extends Minz_ActionController {
|
||||
}
|
||||
|
||||
public function formLoginAction () {
|
||||
if ($this->view->loginOk) {
|
||||
Minz_Request::forward(array('c' => 'index', 'a' => 'index'), true);
|
||||
}
|
||||
|
||||
if (Minz_Request::isPost()) {
|
||||
$ok = false;
|
||||
$nonce = Minz_Session::param('nonce');
|
||||
|
||||
Reference in new issue
Block a user