mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:11:59 +01:00
removed the automatic redirect to sso.php
This commit is contained in:
parent
fd0aa835bb
commit
6a2a3263fc
@ -84,11 +84,7 @@ if(Registry::get('username')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(ENABLE_SSO_LOGIN == 1) {
|
if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') {
|
||||||
header("Location: " . SITE_URL . 'sso.php');
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
else 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 {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user