-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Break after Persona.verify(payload) #36
Comments
Mind sharing the code for the exception handler and routes file too? |
Routes: const Route = use('Route')
Route
.post('login', 'User/UserController.login')
Route
.resource('users', 'User/UserController')
.apiOnly() No exception is displayed on the terminal. And I didn't make any modifications to another part of the code. I am believing it to be because I started my project without |
@danielsalles create your own exception handler: 1 - Run: adonis make:ehandler
Try that and see if this works for you. |
If I enter the wrong credentials the application breaks in the following.
Wasn't it just returning the error for not being able to log in?
The text was updated successfully, but these errors were encountered: