Kompakkt / Repo

Repository for Kompakkt, the Web Based multimodal 3D Viewer and 3D Annotation System.
https://kompakkt.de
GNU Affero General Public License v3.0
12 stars 2 forks source link

Add helpful account management features: Getting help when forgetting username or password #4

Closed HeyItsBATMAN closed 1 year ago

HeyItsBATMAN commented 2 years ago

Previously, users were unable to request a password reset or retrieve their username, preventing some users from accessing Kompakkt. This pull request addresses the missing features (as noted in https://github.com/Kompakkt/Kompakkt/issues/7), by adding several new dialogs to the frontend.

During the login step, the user is now offered two additional links, one to retrieve their username and one to retrieve their password. The decision to turn this into two separate dialogs instead of a single one was to keep the associated functions on the server more organized. Screenshot_2022-07-07_18-45-44

The username can be requested via mail and on successful request the user gets feedback via the snackbar. Screenshot_2022-07-07_18-46-31 Screenshot_2022-07-07_18-46-43

The password can be requested via username and on successful request the user gets feedback via the snackbar. Screenshot_2022-07-07_18-47-33 Screenshot_2022-07-07_18-48-08

lozanaross commented 1 year ago

Thanks for fixing this. A small UX remark: if a user has forgotten the password, it would be nice to offer option to enter username OR email address (not just username), because chances are if they forgot their password and didn't save in browser, they might also not remember the exact username.