mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/oauth] Fall back to DB login if OAuth is enabled but not requested
PHPBB3-11673
This commit is contained in:
parent
4c48da0597
commit
d804842cef
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
||||||
public function login($username, $password)
|
public function login($username, $password)
|
||||||
{
|
{
|
||||||
// Temporary workaround for only having one authentication provider available
|
// Temporary workaround for only having one authentication provider available
|
||||||
if ($username && $password)
|
if (!$this->request->is_set_post('oauth_service'))
|
||||||
{
|
{
|
||||||
// TODO: Remove before merging
|
// TODO: Remove before merging
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_root_path, $phpEx;
|
||||||
|
|
Loading…
Add table
Reference in a new issue