Documentation for Password Management#57
Open
MillicentAmolo wants to merge 2 commits intothoth-tech:mainfrom
Open
Documentation for Password Management#57MillicentAmolo wants to merge 2 commits intothoth-tech:mainfrom
MillicentAmolo wants to merge 2 commits intothoth-tech:mainfrom
Conversation
❌ Deploy Preview for ontrackdocumentation failed.
|
theiris6
approved these changes
Sep 14, 2025
Contributor
theiris6
left a comment
There was a problem hiding this comment.
Hi Millicent, the document is clean and clear. Nice work! Thanks for the contribution.
ibi420
approved these changes
Sep 19, 2025
Contributor
ibi420
left a comment
There was a problem hiding this comment.
Your documentation and images are fine, clear and follow the astro rules. Good work on the documentation.
|
All is good, but add --- before title on the first line to complete the file format and make it work properly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
title: Password Management
layout: ../layouts/BaseLayout.astro
OnTrack Password Management Implementation
Overview
This documentation explains the implementation of full password management in the OnTrack system under the Capstone project with Thoth Tech.
It includes user registration, password reset via email token, and authenticated password change.
Technologies Used
Key Actions
reset_password_tokenandreset_password_sent_at.ForgotPasswordandResetPassword.doubtfire.states.ts) and module declarations.Testing Methodology
Manual Testing Approach
The password management functionality was manually tested in a local development container using the Angular app served at
localhost:4200.Expected Result: Password is updated successfully and user can log in with new credentials.
Actual Result: All steps worked as intended.
This confirms that the password management workflow is functional.
Screenshot (Test Output)
Initial home page (no "Forgot Password" link):

Updated home page (with "Forgot Password" link):

Forgot Password form:

Reset email received:

Change password screen:

Conclusion
This implementation delivers a complete password lifecycle for OnTrack users: registration, forgotten password recovery, token-based reset, and authenticated password change.
Future improvements may include automated testing using Angular testing libraries or Cypress.
Notes
This feature improves both security and user experience, ensuring users can recover accounts safely while preventing unauthorized access.