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

Fix the call for validation errors messages #216

Merged
merged 1 commit into from May 4, 2020

Conversation

michalsn
Copy link
Contributor

@michalsn michalsn commented May 3, 2020

Use the same instance of the validator when checking for validation errors in AuthController.

We're validating these rules in the controller, so searching for validation errors through the model's instance of validation will not succeed.

Ref: #201

@lonnieezell lonnieezell merged commit e770e40 into lonnieezell:develop May 4, 2020
@michalsn michalsn deleted the validate_user branch May 15, 2020 10:39
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

Successfully merging this pull request may close these issues.

None yet

2 participants