1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/oauth] Fix outstanding issues with OAuth

Includes a temporary change that allows me to test against google.
This will be removed shortly.

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-23 21:04:29 -04:00
parent c26b68cc54
commit b1938576f1
2 changed files with 18 additions and 10 deletions

View File

@@ -3226,7 +3226,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
trigger_error('NO_AUTH_ADMIN');
}
if (isset($_POST['login']))
if ($request->is_set_post('login') || ($request->is_set('login') && $request->variable('login', '') == 'external'))
{
// Get credential
if ($admin)