Merge pull request #6 from silverstripe-security/patch/3.5/authenticator-fix

FIX Default LoginForm generated from default_authenticator
This commit is contained in:
Daniel Hensby 2017-09-20 11:37:40 +01:00 committed by GitHub
commit d99a80cef9

View File

@ -266,7 +266,8 @@ class ContentController extends Controller {
* all available log-in forms (also OpenID...)
*/
public function LoginForm() {
return MemberAuthenticator::get_login_form($this);
$authenticator = Authenticator::get_default_authenticator();
return $authenticator::get_login_form($this);
}
public function SilverStripeNavigator() {