Skip to content

Commit 168be7b

Browse files
huysentruitwjaviercn
authored andcommitted
Use the correct logging category inside RegisterModel
1 parent 51de582 commit 168be7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/UI/Areas/Identity/Pages/V3/Account/Register.cshtml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ internal class RegisterModel<TUser> : RegisterModel where TUser : class
9090
private readonly UserManager<TUser> _userManager;
9191
private readonly IUserStore<TUser> _userStore;
9292
private readonly IUserEmailStore<TUser> _emailStore;
93-
private readonly ILogger<LoginModel> _logger;
93+
private readonly ILogger<RegisterModel> _logger;
9494
private readonly IEmailSender _emailSender;
9595

9696
public RegisterModel(
9797
UserManager<TUser> userManager,
9898
IUserStore<TUser> userStore,
9999
SignInManager<TUser> signInManager,
100-
ILogger<LoginModel> logger,
100+
ILogger<RegisterModel> logger,
101101
IEmailSender emailSender)
102102
{
103103
_userManager = userManager;

src/UI/Areas/Identity/Pages/V4/Account/Register.cshtml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ internal class RegisterModel<TUser> : RegisterModel where TUser : class
8989
private readonly UserManager<TUser> _userManager;
9090
private readonly IUserStore<TUser> _userStore;
9191
private readonly IUserEmailStore<TUser> _emailStore;
92-
private readonly ILogger<LoginModel> _logger;
92+
private readonly ILogger<RegisterModel> _logger;
9393
private readonly IEmailSender _emailSender;
9494

9595
public RegisterModel(
9696
UserManager<TUser> userManager,
9797
IUserStore<TUser> userStore,
9898
SignInManager<TUser> signInManager,
99-
ILogger<LoginModel> logger,
99+
ILogger<RegisterModel> logger,
100100
IEmailSender emailSender)
101101
{
102102
_userManager = userManager;

0 commit comments

Comments
 (0)