mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
modify getAuthenticator to fall back to get_default_authenticator
This commit is contained in:
parent
c587059674
commit
66f2e6811b
@ -324,10 +324,8 @@ class Security extends Controller implements TemplateGlobalProvider {
|
|||||||
if(in_array($authenticator, $authenticators)) {
|
if(in_array($authenticator, $authenticators)) {
|
||||||
return $authenticator;
|
return $authenticator;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
return Authenticator::get_default_authenticator();
|
|
||||||
}
|
}
|
||||||
|
return Authenticator::get_default_authenticator();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user