mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -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:
1 parent
530a1d4b6b
commit
79aa5beaf4
20 files changed
+325
-450
No files matched your search
@@ -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