nuth.ch/app/_config.php

9 lines
308 B
PHP
Raw Permalink Normal View History

2019-03-27 07:55:08 +00:00
<?php
use SilverStripe\Security\PasswordValidator;
use SilverStripe\Security\Member;
// remove PasswordValidator for SilverStripe 5.0
$validator = PasswordValidator::create();
// Settings are registered via Injector configuration - see passwords.yml in framework
2019-04-13 15:29:27 +00:00
Member::set_password_validator($validator);