* adjust for sso.
This commit is contained in:
+11
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user