Skip to content

Commit 46a1278

Browse files
authored
Rename AppUser to ApplicationUser in email methods (#36475)
1 parent 22e2119 commit 46a1278

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aspnetcore/blazor/security/account-confirmation-and-password-recovery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,17 +186,17 @@ public class EmailSender(IOptions<AuthMessageSenderOptions> optionsAccessor,
186186
187187
public AuthMessageSenderOptions Options { get; } = optionsAccessor.Value;
188188
189-
public Task SendConfirmationLinkAsync(AppUser user, string email,
189+
public Task SendConfirmationLinkAsync(ApplicationUser user, string email,
190190
string confirmationLink) => SendEmailAsync(email, "Confirm your email",
191191
"<html lang=\"en\"><head></head><body>Please confirm your account by " +
192192
$"<a href='{confirmationLink}'>clicking here</a>.</body></html>");
193193
194-
public Task SendPasswordResetLinkAsync(AppUser user, string email,
194+
public Task SendPasswordResetLinkAsync(ApplicationUser user, string email,
195195
string resetLink) => SendEmailAsync(email, "Reset your password",
196196
"<html lang=\"en\"><head></head><body>Please reset your password by " +
197197
$"<a href='{resetLink}'>clicking here</a>.</body></html>");
198198
199-
public Task SendPasswordResetCodeAsync(AppUser user, string email,
199+
public Task SendPasswordResetCodeAsync(ApplicationUser user, string email,
200200
string resetCode) => SendEmailAsync(email, "Reset your password",
201201
"<html lang=\"en\"><head></head><body>Please reset your password " +
202202
$"using the following code:<br>{resetCode}</body></html>");

0 commit comments

Comments
 (0)