TOT-12 Account Deletion and fixing login/logout issues (with JWT)
Using this, we can enable the user to remove their identifying information. We have added authentication and authorization. We resolved issues concerning the handling of login on the client/server with the JWT token, and improved error messaging for a better user understanding what is happening.
Test Case | Expected Result |
---|---|
Login with incorrect information | Receive an error message |
Login with a deleted user | Receive an error message. After refresh, the user should still be logged out |
Delete user info with correct password | Successful deletion |
Delete user info with incorrect password | Receive an error message |
Logout | User stays logged out even after a page refresh |