Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

login error #58

@cssailing

Description

@cssailing

if input wrong password,
/api/auth/login callback message
{"message":"422 Unprocessable Entity","errors":{"password":["The password must be at least 8 characters."]},"status_code":422}

the console log show error
Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
vendor-2dd0d3c10a.js:5 TypeError: Cannot read property '0' of undefined
at e.value (app-c915cb31e1.js:2)
at a (vendor-2dd0d3c10a.js:5)
at vendor-2dd0d3c10a.js:5
at h.$eval (vendor-2dd0d3c10a.js:6)
at h.$digest (vendor-2dd0d3c10a.js:6)
at h.$apply (vendor-2dd0d3c10a.js:6)
at l (vendor-2dd0d3c10a.js:5)
at $ (vendor-2dd0d3c10a.js:5)
at XMLHttpRequest.S.onload (vendor-2dd0d3c10a.js:5)(anonymous function) @ vendor-2dd0d3c10a.js:5

the login page can not show the error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions