Skip to content

Conversation

@MillicentAmolo
Copy link

Description

-implemented full password management for OnTrack accounts, including registration, password reset, and password updates.. Enhances security authentication and usability by providing a complete password lifecycle.
Backend
Database migration for reset_password_token and reset_password_sent_at (so you’ll need ActiveRecord migration run on the DB).
Email delivery service configured (for sending reset password links).
Frontend (Angular)
New Angular components (ForgotPassword, ResetPassword) must be declared in doubtfire-angular.module.ts.
Updated routing (doubtfire.states.ts) to include the new states.

Fixes # (issue)
-New feature

Type of change

  • Documentation (update or new)

How Has This Been Tested?

The following screenshots demonstrate the password management workflow tested on the application (running on port 4200):

  1. Initial Home Page (No “Forgot Password” link)
    https://github.com/MillicentAmolo/doubtfire-astro/blob/main/public/Initial-home-page.PNG
    The original home page before the “Forgot Password” feature was added.
  2. Updated Home Page (With “Forgot Password” link)
    https://github.com/MillicentAmolo/doubtfire-astro/blob/main/public/Updated-home-page-with-forgot-password-link.PNG
    The home page after implementing the feature, now showing the link.
  3. Forgot Password Form
    https://github.com/MillicentAmolo/doubtfire-astro/blob/main/public/Clicking-the-Reset-Link.PNG
    After clicking “Forgot Password”, the system prompts for the user’s email.
    Action: Enter email address and click “Send Reset Link.”
  4. Reset Email Received
    https://github.com/MillicentAmolo/doubtfire-astro/blob/main/public/Reset-email-link-received.PNG
    The inbox showing the received email containing the password reset link.
  5. Clicking the Reset Link and Change Password Screen
    https://github.com/MillicentAmolo/doubtfire-astro/blob/main/public/change-password-screen.PNG
    After clicking the reset link, the browser opens the reset password page where the user enters and confirms a new password. Once the form is submitted, the password is updated.

Testing Checklist

  • Tested in latest Chrome
  • Tested in latest Firefox

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have requested a review from ... on the Pull Request

@netlify
Copy link

netlify bot commented Sep 12, 2025

Deploy Preview for ontrackdocumentation failed.

Name Link
🔨 Latest commit 24623b1
🔍 Latest deploy log https://app.netlify.com/projects/ontrackdocumentation/deploys/68cf07789a01de0008fd27bd

Copy link
Contributor

@theiris6 theiris6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Millicent, the document is clean and clear. Nice work! Thanks for the contribution.

@ibi420
Copy link
Contributor

ibi420 commented Sep 19, 2025

Hey @MillicentAmolo, your images are fine and clear, but in the future, there is no need to split the images from the md file.

@WaelAlahamdi
Copy link

I agree with Ibi, there is no need for the images. The work is good and approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants