Open
Description
Checklist
- I could not find a solution in the existing issues or docs.
- I agree to follow this project's Code of Conduct.
Describe the bug
The form_data_invalid_error error message is not displayed despite the response containing:
error: { code: "form_data_invalid_error", message: "Form data invalid." }
Reproducing the bug
I have defined two error messages, among others: flowErrors.value_invalid_error and flowErrors.form_data_invalid_error. When I enter an invalid email, such as [email protected], the response is:
{
"name": "login_init",
...
"error": {
"code": "form_data_invalid_error",
"message": "Form data invalid."
}
}
However, the error message from flowErrors.value_invalid_error is displayed instead. In my opinion, this is incorrect.
Logs
No response
Configuration
No response
Hanko Version
@teamhanko/[email protected]
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
None
OS Version
No response
Browser Version
No response
Environment
None
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New