DragonByte Tech
Well-known member
- Affected version
- 2.0.2
If you access the login form from
Proposed fix: In src/XF/Pub/Controller/Login.php around line 42, replace the isPost block with:
Fillip
login/
it works fine, but if you access it from login/login
it doesn't.Proposed fix: In src/XF/Pub/Controller/Login.php around line 42, replace the isPost block with:
PHP:
if (!$this->isPost())
{
$providers = $this->repository('XF:ConnectedAccount')->getUsableProviders(false);
$viewParams = [
'providers' => $providers
];
return $this->view('XF:Login\Form', 'login', $viewParams);
}
Fillip