-
Notifications
You must be signed in to change notification settings - Fork 974
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
Flow's returning "ID" instead of "Email" for label text #3041
Comments
Thank you for the report! This is currently a limitation because it’s theoretically possible to have more than one identifier (eg username AND email). However, if only one identifier is set, we should display the right title. |
Sorry, my first snippet might have been too short, but of course in the official example there is only one identifier. |
I made this workaround for now: function fixInitialFlow(flow: LoginFlow): LoginFlow {
for (const node of flow.ui.nodes) {
if (node.attributes['name'] === 'identifier') {
node.meta.label.text = 'Email'
}
}
return flow
} |
We added this to our backlog and will address it soon! |
This is much needed, our clients are confused with ID. |
Preflight checklist
Describe the bug
I am using the official Email and Password identity template. The template has the label field filled in, saying "Email".
Kratos still returns a flow UI with "ID" for label text, instead of "Email".
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
0.11.1
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Binary
Additional Context
No response
The text was updated successfully, but these errors were encountered: