diff --git a/module/common/model.php b/module/common/model.php index 04d72c0aca..a64d3c99ca 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2293,7 +2293,17 @@ EOD; $module = $this->app->getModuleName(); $method = $this->app->getMethodName(); - if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || ($module == 'my' && ($method == 'changepassword' || $method == 'preference')) || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download') || ($module == 'file' && $method == 'uploadimages')) return; + if($module == 'index' || + $module == 'tutorial' || + $module == 'install' || + $module == 'upgrade' || + ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || + ($module == 'my' && ($method == 'changepassword' || $method == 'preference')) || + ($module == 'file' && ($method == 'read' || $method == 'download' || $method == 'uploadimages')) || + ($module == 'sso' && $method == 'login')) + { + return; + } $url = helper::safe64Encode($_SERVER['REQUEST_URI']); $redirectUrl = helper::createLink('index', 'index', "open=$url");