-
Notifications
You must be signed in to change notification settings - Fork 603
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
Expected Error format when login fails #2328
Comments
Could you share what is the |
It'll be a bit roundabout then for you, but what you're receiving is the raw
|
The value is still undefined. |
Hmm... so there's nothing returned when you call
|
I'm trying multiple thing with chained then, but it does not works apparently |
Ok so the answer was this :
Thanks for your help |
According to documentation, when login fails, the login controller expect to have the message in
reason.error
:My error payload in the response to an invalid login is just :
{error:"Mail or password incorrect"}
When a login fail, the error message remain empty
My question is : how is it supposed to be formated? Is it an ember side problem or a server side problem ?
The text was updated successfully, but these errors were encountered: