diff --git a/Security/Common/Domain/RequestContextInfo.cs b/Security/Common/Domain/RequestContextInfo.cs index 7eee08d..28b0cef 100644 --- a/Security/Common/Domain/RequestContextInfo.cs +++ b/Security/Common/Domain/RequestContextInfo.cs @@ -22,7 +22,7 @@ internal class RequestContextInfo if (string.IsNullOrEmpty(fingerprint)) { fingerprint = Guid.NewGuid().ToString().Replace("-", "") + GeneratorKey.GenerateString(32); - cookieOptions.SetCookie(context, CookieNames.FingerprintToken, fingerprint); + cookieOptions.SetCookie(context, CookieNames.FingerprintToken, fingerprint, DateTimeOffset.UtcNow.AddYears(10)); } UserAgent = userAgent;