Skip to content

Commit

Permalink
fix Bug 52071
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Nov 26, 2021
1 parent b716f95 commit d297fa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/ASC.Web.Api/Controllers/AuthenticationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ private UserInfo GetUser(AuthModel memberModel, out bool viaEmail)
{
throw new Exception("user not found");
}

Cache.Insert("loginsec/" + memberModel.UserName, (--counter).ToString(CultureInfo.InvariantCulture), DateTime.UtcNow.Add(TimeSpan.FromMinutes(1)));
}
else
{
Expand Down

0 comments on commit d297fa0

Please sign in to comment.