lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
632 stars 207 forks source link

CodeIgniter\Validation\Exceptions\ValidationException "strong_password" is not a valid rule. #601

Closed Mumji closed 8 months ago

Mumji commented 1 year ago

hello everyone i need your help please , i don't understand how to fix this error..

SYSTEMPATH\Validation\Validation.php : 286 — CodeIgniter\Validation\Exceptions\ValidationException::forRuleNotFound ( arguments )

I experienced this when I was going to register. here I use myth auth and codeigniter 4

manageruz commented 1 year ago

Hi @Mumji Please edit your app/Config/Validation.php and add the following value to the ruleSets array: \Myth\Auth\Authentication\Passwords\ValidationRules::class

After that you can use strong_password validation rule. Good luck