Hi,
** Issue 1*
I need to change the text that appears in reset-password screen.
My Screen Looks like this:
I want to replace “username” with “email” in both description and placeholder
I can easily change the text on “login” screen by management api v2
The options I set are:
- Prompt: login
- language: en
- body:
{"login":{"usernamePlaceholder":"Username", "wrong-email-credentials": "Wrong username or password"}}
With the above settings I get 200 response and text gets changed successfully. All good here!
Similarly, for reset-password screen, options I set are:
- Prompt: reset-password
- language: en
- body:
{"reset-password":{"placeholderUsername":"Email"}}
The response I get is:
{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid key \"placeholderUsername\" in screen \"reset-password\".",
"errorCode": "invalid_body"
}
It appears so simple yet I cannot get it done!
What mistake am I making here ?
** Issue2*
Secondly,
As in the screenshot above, I am seeing “username” in placeholder and description. However, the default is “Email”. How did it get changed? Moreover, keys for both email and username are there in the documentation for reset-password
How does it get decided whether username key will get precedence or the email key ?
Thanks in advance !