Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

#270 - Reset passwords.#319

Merged
sys27 merged 1 commit intomasterfrom
feature/password-reset
Dec 1, 2024
Merged

#270 - Reset passwords.#319
sys27 merged 1 commit intomasterfrom
feature/password-reset

Conversation

@sys27
Copy link
Owner

@sys27 sys27 commented Nov 26, 2024

Closes #270.

@sys27 sys27 added the feature New feature or request label Nov 26, 2024
@sys27 sys27 added this to the 1.0.0 milestone Nov 26, 2024
@sys27 sys27 self-assigned this Nov 26, 2024
@sys27 sys27 force-pushed the feature/password-reset branch 5 times, most recently from 090161e to e0f9b56 Compare December 1, 2024 15:09
@sys27 sys27 marked this pull request as ready for review December 1, 2024 15:18
@sys27 sys27 force-pushed the feature/password-reset branch from e0f9b56 to d81db1b Compare December 1, 2024 15:21
@sys27 sys27 requested a review from Copilot December 1, 2024 15:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 31 out of 46 changed files in this pull request and generated 1 suggestion.

Files not reviewed (15)
  • Pyro.Api/Pyro/Endpoints/GitRepositoryEndpoints.cs: Evaluated as low risk
  • Pyro.Api/Pyro/DtoMappings/IdentityMapper.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Models/OneTimePassword.cs: Evaluated as low risk
  • Pyro.Api/Pyro.ApiTests/Clients/IdentityClient.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Shared/ServiceOptions.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Commands/NotifyExpiringPasswords.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/IPasswordService.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Models/OneTimePasswordPurpose.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Models/AuthenticationToken.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Models/User.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/PasswordService.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Domain.Identity/Models/AccessToken.cs: Evaluated as low risk
  • Pyro.Api/Pyro/Endpoints/IssueEndpoints.cs: Evaluated as low risk
  • Pyro.Api/Pyro.Contracts/Requests/Identity/ResetPasswordRequest.cs: Evaluated as low risk
  • Pyro.Api/Pyro/Endpoints/IdentityEndpoints.cs: Evaluated as low risk
Comments skipped due to low confidence (1)

Pyro.Api/Pyro.Domain.Identity.UnitTests/Models/UserTests.cs:523

  • In the ResetPassword test, add assertions to verify that the user.Password and user.Salt are updated correctly and are not equal to their initial values before the reset.
user.ResetPassword(timeProvider, passwordService, oneTimePassword, password);

@sys27 sys27 merged commit 180ce7b into master Dec 1, 2024
@sys27 sys27 deleted the feature/password-reset branch December 1, 2024 15:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reset passwords

2 participants