Skip to content

Login error handling issues #2768

@karenvicent

Description

@karenvicent

Describe the bug
Description:
There are a couple of problems in the login flow:

  1. Backend is not returning the correct error message — it sends authIncorrectPassword, which looks like a localization key, not the actual user-facing message.

  2. Frontend doesn’t properly display errors — it should display whatever error the backend returns, and if there’s nothing from the backend, show a default error message. It shouldn’t default to “incorrect password” unless that’s the actual error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Login page.
  2. Enter a invalid email and a password.
  3. Observe that the backend returns authIncorrectPassword as the message.

Expected behavior
Backend should return a valid, translatable error key or a proper message.

Frontend should display the exact message from the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions