mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
Refactor authentication system.
Big work, not finished. A lot of features have been removed. See https://github.com/marienfressinaud/FreshRSS/issues/655
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class FreshRSS_update_Controller extends Minz_ActionController {
|
||||
public function firstAction() {
|
||||
$current_user = Minz_Session::param('currentUser', '');
|
||||
if (!$this->view->loginOk && Minz_Configuration::isAdmin($current_user)) {
|
||||
if (!FreshRSS_Auth::hasAccess() && Minz_Configuration::isAdmin($current_user)) {
|
||||
Minz_Error::error(
|
||||
403,
|
||||
array('error' => array(_t('access_denied')))
|
||||
|
||||
Reference in New Issue
Block a user