mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:40:12 +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 {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user