Skip to content

Commit 0ecc797

Browse files
authored
Merge pull request #425 from neozhu/neozhu-patch-1
fixed Code scanning alerts / #2
2 parents 4f11315 + 5002ac4 commit 0ecc797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blazor.Server.UI/Pages/Authentication/Forgot.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
Snackbar.Clear();
9494
Snackbar.Configuration.PositionClass = Defaults.Classes.Position.TopCenter;
9595
Snackbar.Add(string.Format(L["The email has been sent, please check the email:{0} "],_emailAddress), MudBlazor.Severity.Success,config=> { config.ShowCloseIcon = false; config.HideTransitionDuration = 5000; });
96-
Logger.LogInformation("{@UserName:l}'s password reset token: {@Token} has been sent", _user.UserName,_resetPasswordToken);
96+
Logger.LogInformation("{@UserName:l}'s password reset token: {@Token} has been sent", _user.UserName,"******");
9797
}
9898
else
9999
{

0 commit comments

Comments
 (0)