Klurifixus / butikado

före projectet
0 stars 2 forks source link

Implement and Test Password Reset Email Functionality #22

Open Klurifixus opened 5 months ago

Klurifixus commented 5 months ago

Issue Description Problem: Users of the "Earn Shop" e-commerce website currently do not have the ability to reset their passwords via email, which is a crucial feature for user account management. Scope: This issue involves setting up and ensuring the proper functioning of the password reset email feature using Django Allauth, along with ensuring it is styled consistently with Bootstrap 4. Acceptance Criteria: Users should be able to request a password reset email through the website interface. The email sent to the user should contain a link to reset the password. The password reset process should be secure and user-friendly. The email and reset password page should be styled consistently with the website's Bootstrap 4 theme. The feature should be tested for reliability and security. User Story Title: As a user, I want to be able to reset my password via email in case I forget it.

Narrative:

As a: user I want: the ability to reset my password through a password reset email So that: I can regain access to my account if I forget my password.

Acceptance Criteria:

I can request a password reset email from the login or account page. I receive an email with clear instructions and a link to reset my password. The password reset process is straightforward and secure. The email and the password reset page are well-designed and consistent with the site’s theme. The entire process works reliably without technical issues.

Implementation Notes:

Django Allauth Configuration: Ensure Django Allauth is configured correctly for sending password reset emails. This includes setting up email backend configurations in Django settings. Email Template Customization: Customize the email template used for sending the password reset link. Ensure it’s informative and aligns with the website's design using Bootstrap 4. Security Checks: Implement necessary security measures to prevent abuse of the password reset feature, such as rate limiting or captcha. Front-End Styling: Style the password reset pages using Bootstrap 4 to maintain consistency with the rest of the website. Testing: Test the feature extensively to ensure it works under various scenarios and is user-friendly. This includes testing the email delivery, link validity, and the reset process.