mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Auto-redirect from formLogin if already logged in
This commit is contained in:
@@ -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