The preferred way to install this extension is through composer.
Either run
composer require ethercreative/yii2-beenpwned-validator
or add
"ethercreative/yii2-beenpwned-validator": "*"
to the require section of your composer.json
file.
public function rules()
{
return [
['password', '\ethercreative\validators\BeenPwned'],
];
}
- Add option to check account
- Add option to check pastes
- Add option for
originalPasswordIsAHash