Update SSO mechanism to use new domain system

This commit is contained in:
Kijin Sung 2017-03-04 22:05:16 +09:00
parent 4bde9f6c7b
commit 8cf3d7b520
3 changed files with 35 additions and 45 deletions

View file

@ -47,17 +47,10 @@ $oContext = Context::getInstance();
$oContext->init();
/**
* @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
* @brief Initialize and execute Module Handler
**/
if($oContext->checkSSO())
{
$oModuleHandler = new ModuleHandler();
if($oModuleHandler->init())
{
$oModuleHandler->displayContent($oModuleHandler->procModule());
}
}
$oModuleHandler = new ModuleHandler();
$oModuleHandler->init() && $oModuleHandler->displayContent($oModuleHandler->procModule());
Context::close();