NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.52k stars 643 forks source link

Change password login page 'Username or Email' field to just 'Email' #9877

Closed advay26 closed 3 months ago

advay26 commented 3 months ago

Fixes https://github.com/NuGet/Engineering/issues/5309

The Password login page (deprecated, but still used for password-based account recovery) has a 'Username or Email' field that only accepts Emails. Usernames do not work here, and this has caused confusion for customers multiple times. This field should just say 'Email' or 'Email Address', so I've fixed that now.

This will also change how the password login page appears in local development, although usernames should still work there as they used to. This just changes the string we show in the Login form UI.

Previously, image

Now, image (the 'no longer supported' info bar is missing because this is a screenshot from my local deployment, but it should still be there in an actual environment)