Revert "sso routing fix"

This reverts commit 81d3e35c45.
This commit is contained in:
SJ 2013-04-23 22:07:54 +02:00
parent 81d3e35c45
commit adf73d5244

View File

@ -87,15 +87,6 @@ else {
if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') { if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') {
$action = new Router('login/google'); $action = new Router('login/google');
} }
else if(ENABLE_SSO_LOGIN == 1) {
if(isset($request->get['route']) && $request->get['route'] == 'login/login') {
$action = new Router('login/login');
}
else {
header("Location: " . SITE_URL . 'sso.php');
exit;
}
}
else { else {
$action = new Router('login/login'); $action = new Router('login/login');
} }