As a logged user I want to be able to find the settings in my account and find the "Delete my account" option. So I can delete my account permanently and my data is removed from the system if I no longer use the service #80
Logged-in users will be able to permanently delete their account by accessing the account settings from their profile. Within the settings, they will find an option labeled "Delete My Account". Upon selecting this option, the user will be prompted to confirm their decision and re-enter their password. The application will then use AWS Cognito to authenticate the request. Once confirmed, the user's account and all associated data will be permanently deleted from the system, and the user will be logged out and redirected to the homepage.
Acceptance criteria:
The user can access account settings by clicking on a "Settings" or "Account Settings" option in their profile.
The settings page includes an option to "Delete My Account".
Clicking the "Delete My Account" option prompts the user to confirm the deletion.
The system asks the user to re-enter their password and uses AWS Cognito to authenticate the request.
Upon confirmation, the system deletes the user's account and removes their data from the system.
The user is logged out and redirected to the homepage or a confirmation page after account deletion.
Description:
Logged-in users will be able to permanently delete their account by accessing the account settings from their profile. Within the settings, they will find an option labeled "Delete My Account". Upon selecting this option, the user will be prompted to confirm their decision and re-enter their password. The application will then use AWS Cognito to authenticate the request. Once confirmed, the user's account and all associated data will be permanently deleted from the system, and the user will be logged out and redirected to the homepage.
Acceptance criteria:
Tasks:
109
115
158