mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-10-28 05:02:27 +01: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