mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 16:25:00 -04:00
Improve login page
- if user cannot log in, a 403 error is showed (and it is done in controller) - 403 error message has been changed to match with the error - add blank spaces on persona login page
This commit is contained in:
@@ -351,6 +351,11 @@ class FreshRSS_index_Controller extends Minz_ActionController {
|
||||
}
|
||||
$this->view->_useLayout(false);
|
||||
Minz_Request::forward(array('c' => 'index', 'a' => 'index'), true);
|
||||
} elseif (!Minz_Configuration::canLogIn()) {
|
||||
Minz_Error::error (
|
||||
403,
|
||||
array ('error' => array (Minz_Translate::t ('access_denied')))
|
||||
);
|
||||
}
|
||||
invalidateHttpCache();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user