Closed HeyItsBATMAN closed 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.
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](https://user-images.githubusercontent.com/1042382/177828370-b621107e-01c6-4814-8e34-8d3eaac320ef.png)
The username can be requested via mail and on successful request the user gets feedback via the snackbar.
![Screenshot_2022-07-07_18-46-43](https://user-images.githubusercontent.com/1042382/177828410-dc4d767b-8030-4f09-8b05-e2281b122343.png)
The password can be requested via username and on successful request the user gets feedback via the snackbar.
![Screenshot_2022-07-07_18-48-08](https://user-images.githubusercontent.com/1042382/177828463-11c07106-76c5-4d8b-a8e3-8da74232c71f.png)