removed the automatic redirect to sso.php

This commit is contained in:
SJ 2013-04-22 22:06:56 +02:00
parent fd0aa835bb
commit 6a2a3263fc

View File

@ -84,11 +84,7 @@ if(Registry::get('username')) {
}
}
else {
if(ENABLE_SSO_LOGIN == 1) {
header("Location: " . SITE_URL . 'sso.php');
exit;
}
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');
}
else {