Skip to content

Commit

Permalink
fix decrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed Dec 29, 2024
1 parent 4bad679 commit 2a201aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public async Task<IActionResult> ResetUsernameAsync([FromBody] PassportRequest r
Passport passport = new()
{
UserName = userName,
NewUserName = request.NewUserName,
NewUserName = passportService.Decrypt(request.NewUserName),
};

PassportResult result = await passportService.ResetUsernameAsync(passport).ConfigureAwait(false);
Expand Down

0 comments on commit 2a201aa

Please sign in to comment.