Activated route used to extract uid and token from the query parameters.
Authentication service for handling password reset requests.
Angular destroy reference (reserved for potential cleanup use).
Indicates whether the password reset form is currently being submitted.
Reactive form for resetting the password.
Controls:
password: required, minimum length 6confirmPassword: required, minimum length 6Async Validators:
equalsToPassword: ensures both fields matchRouter used for navigation after password reset.
Signal controlling confirm-password field visibility.
Signal controlling password field visibility.
Signal holding password reset token extracted from the query parameters.
Signal holding user ID extracted from the query parameters.
Lifecycle hook.
Extracts uid and token from the current route’s query parameters
to be used in the password reset request.
Submits the new password to the authentication service.
Behavior:
uid, token, and new_password.
Reset Password component.
Handles password reset functionality for users who have received a reset link. Extracts reset tokens from query parameters, validates new passwords, and calls the backend service to finalize password reset.
Features:
AuthServiceSelector:
app-reset-passwordStandalone:true