aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-30 15:00:41 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-30 15:00:41 +0100
commitbd5d7a7bcb16cff1c01f4445ceee765fc11e3b50 (patch)
tree1839dbb208d1b63c034fce2cb3d646124a6c937c /app/Controllers/configureController.php
parent4d6ab45b03031e1c13ac2d3589364a43a0fe5578 (diff)
Cache HTTP compatible multi-utilisateur
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 656e2ac89..2260e978b 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -322,7 +322,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
Minz_Session::_param('mail', $this->view->conf->mail_login);
- if (Minz_Configuration::isAdmin()) {
+ if (Minz_Configuration::isAdmin(Minz_Session::param('currentUser', '_'))) {
$anon = Minz_Request::param('anon_access', false);
$anon = ((bool)$anon) && ($anon !== 'no');
$auth_type = Minz_Request::param('auth_type', 'none');