Azure / Azure/api-management-developer-portal

Reset password is not showing proper message

Open
#1,344 2 comments 0 reactions 0 assignees View on GitHub
(t) Bug (u) Usability P2
Dominant language
TypeScript
Stars
545
Forks
360
PR merge metrics
No merged PRs in 30d

Description

## Bug description

Whenever we are trying to reset password, and then entering wrong email address, it should response that the email address is incorrect. But instead, it is always refreshing the captcha, so user frustrates by entering captchas.

## Reproduction steps

1. Proceed to API Manager
2. Complete the Sign up with a new email address with activating from email
3. Proceed to API Manager
4. Click 'forgot password'
5. Enter email address (may be wrong email address)
6. Enter Captcha
7. Press Request Reset
8. Nothing Happens - Captcha forces user to keep entering - and no email with reset instructions is sent....

## Expected behavior

It must inform user that entered email address is not valid. If captcha is not valid then also it should be informed.

## Environment

- Operating system: Windows
- Browser: mostly all - [Google Chrome, Firefox]
- Version: not dependent to any version

## Additional context

I can see the validation message is coming from API like below but it is not showing in Validation summary.

```
{
"code": "ValidationError",
"message": "Captcha validation failed.",
"details": [
{
"target": "Captcha",
"message": "Text entered doesn't match text on the picture. Please try again."
}
]
}
```

```
{
"code": "ValidationError",
"message": "One or more fields contain incorrect values:",
"details": [
{
"code": "ResourceNotFound",
"target": "to",
"message": "User not found"
}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.