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

Password validates not functioning #3

Closed
bterone opened this issue Mar 16, 2019 · 2 comments
Closed

Password validates not functioning #3

bterone opened this issue Mar 16, 2019 · 2 comments

Comments

@bterone
Copy link
Owner

bterone commented Mar 16, 2019

Devise ignores :validates clause in user model?

@olivierobert
Copy link

Devise implements its own validation for its own attributes (including password). Since we cannot control the order of validations hooks, it might seem that the one you implemented is not called.

@bterone
Copy link
Owner Author

bterone commented Mar 23, 2019

Fixed the password validation on registering a user in the latest commit. Forgot to permit the password_confirmation parameters when submitting user details for validation to occur

@bterone bterone closed this as completed Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants