Merge pull request #5867 from andrewandante/MINOR_getAuthenticator-returns-default

Modify getAuthenticator to fall back to get_default_authenticator
This commit is contained in:
Damian Mooyman 2016-08-03 12:07:35 +12:00 committed by GitHub
commit e683c97f6e

View File

@ -324,10 +324,8 @@ class Security extends Controller implements TemplateGlobalProvider {
if(in_array($authenticator, $authenticators)) {
return $authenticator;
}
} else {
return Authenticator::get_default_authenticator();
}
return Authenticator::get_default_authenticator();
}
/**