amazon-cognito-identity-js icon indicating copy to clipboard operation
amazon-cognito-identity-js copied to clipboard

Forgot password dialog showing "enter username" instead of email

Open kpitzen opened this issue 7 years ago • 4 comments

When a user's login is set to email, the prompt in the 'forgot password' dialog prompts the user for a username instead of an email. This could cause confusion as the user has never created an actual username.

kpitzen avatar Nov 15 '17 15:11 kpitzen

What exactly are you referring to that is doing that? The Cognito hosted UI?

itrestian avatar Nov 17 '17 02:11 itrestian

Yes, that's correct.

On Nov 16, 2017 8:56 PM, "Ionut Trestian" [email protected] wrote:

What exactly are you referring to that is doing that? The Cognito hosted UI?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aws/amazon-cognito-identity-js/issues/595#issuecomment-345131019, or mute the thread https://github.com/notifications/unsubscribe-auth/AD79BoYm_nj3MsxC_MHZjkgUBxx96OFCks5s3PXNgaJpZM4QfFiA .

kpitzen avatar Nov 17 '17 03:11 kpitzen

Thank you for the suggestion! I agree that if you use the email as a username it would make sense to display that info on the hosted UI. I will bring it up within the team to discuss.

itrestian avatar Nov 17 '17 03:11 itrestian

The placeholder should be customizable e.g. "Enter email or username"

shnplr avatar Jan 28 '18 02:01 shnplr