Skip to content
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

Allow skipping password length validation if password_length: nil (or false) #5584

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnnyshields
Copy link

I have custom validation logic for password length, and as such I'd like to skip the default validation from Devise. Please let me know if this patch would be accepted, and if so, I'll add tests.

@johnnyshields johnnyshields changed the title Allow password_length: nil (or false) to skip password length validation Allow skipping password length validation if password_length: nil (or false) Apr 9, 2023
@colinross
Copy link
Contributor

If you are implementing your own validations, why are you including :validatable in the devise config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants