mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/oauth] Fall back to DB login if OAuth is enabled but not requested
PHPBB3-11673
This commit is contained in:
@@ -109,7 +109,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
||||
public function login($username, $password)
|
||||
{
|
||||
// Temporary workaround for only having one authentication provider available
|
||||
if ($username && $password)
|
||||
if (!$this->request->is_set_post('oauth_service'))
|
||||
{
|
||||
// TODO: Remove before merging
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
Reference in New Issue
Block a user