mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-31 06:48:02 +02:00
14 lines
359 B
YAML
14 lines
359 B
YAML
---
|
|
Name: corepasswords
|
|
---
|
|
SilverStripe\Core\Injector\Injector:
|
|
SilverStripe\Security\PasswordValidator:
|
|
properties:
|
|
MinLength: 8
|
|
HistoricCount: 6
|
|
|
|
# In the case someone uses `new PasswordValidator` instead of Injector, provide some safe defaults through config.
|
|
SilverStripe\Security\PasswordValidator:
|
|
min_length: 8
|
|
historic_count: 6
|