-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValidatioRule "strong_password" conflict validation system #210
Comments
This is a valid issue. Sadly with the current implementation of parsing validation rules, there is no way to access the data params that were set with If we would require this rule to be written like this: As a workaround, I created a PR #215 to support data from But still... |
i think that "password[]" is the better option in this case. Maybe ci4 team modify core to allow create custom rules without parameters and with acces to $data form, like rules with params. Regards! |
I've seen a couple of issues crop up over at CI over at the moment with this same issue, so I think always passing $data would make sense in the core. Can you open an issue over there so we don't forget about it? Thanks! |
Hi, the strong_password rule fail with custom validation data, the validation rule always search in "post"and un my case i pasa te data yo run method.
Code Example:
`$form = $this->request->getRawInput();
Error:
The text was updated successfully, but these errors were encountered: