Merge pull request #7693 from gorriecoe/patch-1

Added after priority to replace default authenticator.
This commit is contained in:
Damian Mooyman 2017-12-12 16:48:09 +13:00 committed by GitHub
commit 277c129e1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,11 @@ SilverStripe\Core\Injector\Injector:
``` ```
If there is no authenticator registered, `Authenticator` will try to fall back on the default provided authenticator (`default`), which can be changed using the following config, replacing the MemberAuthenticator with your authenticator: If there is no authenticator registered, `Authenticator` will try to fall back on the default provided authenticator (`default`), which can be changed using the following config, replacing the MemberAuthenticator with your authenticator:
```yaml ```yaml
---
Name: MyAuth
After:
- '#coresecurity'
---
SilverStripe\Core\Injector\Injector: SilverStripe\Core\Injector\Injector:
SilverStripe\Security\Security: SilverStripe\Security\Security:
properties: properties: