Skip to content

Commit

Permalink
ASC.Web.Core: WhatsNewNotify: Fixed error from the log
Browse files Browse the repository at this point in the history
System.Security.Authentication.InvalidCredentialException: account
   at ASC.Core.SecurityContext.AuthenticateMeWithoutCookieAsync(IAccount account, List`1 additionalClaims, Guid session)
   at ASC.Core.SecurityContext.AuthenticateMeWithoutCookieAsync(Int32 tenantId, Guid userId, List`1 additionalClaims)
   at ASC.Web.Studio.Core.Notify.StudioWhatsNewNotify.SendMsgWhatsNewAsync(Int32 tenantId, DateTime scheduleDate, WhatsNewType whatsNewType, List`1 products)
  • Loading branch information
andreysavihin committed Nov 29, 2024
1 parent 78e0074 commit b925451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ASC.Web.Core/Notify/StudioWhatsNewNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private async Task SendMsgWhatsNewAsync(int tenantId, DateTime scheduleDate, Wha
var client = workContext.RegisterClient(serviceProvider, studioNotifyHelper.NotifySource);

_log.InformationStartSendWhatsNewIn(tenant.GetTenantDomain(coreSettings), tenantId);
foreach (var user in await userManager.GetUsersAsync())
foreach (var user in await userManager.GetUsersAsync(EmployeeStatus.Active))
{
_log.Debug($"SendMsgWhatsNew start checking subscription: {user.Email}");//temp

Expand Down

0 comments on commit b925451

Please sign in to comment.