mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
added google xoauth2 support + fixed a journaling issue
This commit is contained in:
@ -79,7 +79,11 @@ if(Registry::get('username')) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
$action = new Router('login/login');
|
||||
if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') {
|
||||
$action = new Router('login/google');
|
||||
} else {
|
||||
$action = new Router('login/login');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user