Skip to content

Commit dc6d202

Browse files
committed
#1979 "PublicStore.Login" activity type didn't work as expected
1 parent 4d3a081 commit dc6d202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Presentation/Nop.Web/Controllers/CustomerController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public ActionResult Login(LoginModel model, string returnUrl, bool captchaValid)
309309
_eventPublisher.Publish(new CustomerLoggedinEvent(customer));
310310

311311
//activity log
312-
_customerActivityService.InsertActivity("PublicStore.Login", _localizationService.GetResource("ActivityLog.PublicStore.Login"), customer);
312+
_customerActivityService.InsertActivity(customer, "PublicStore.Login", _localizationService.GetResource("ActivityLog.PublicStore.Login"));
313313

314314
if (String.IsNullOrEmpty(returnUrl) || !Url.IsLocalUrl(returnUrl))
315315
return RedirectToRoute("HomePage");

0 commit comments

Comments
 (0)