Skip to content

Commit

Permalink
Increased cookie lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
pkirilin committed Jan 16, 2024
1 parent 854bb43 commit 7c1035e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/src/FoodDiary.Constants/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class AuthenticationSchemes

public static class AuthenticationParameters
{
public static readonly TimeSpan CookieLifetime = TimeSpan.FromHours(1);
public static readonly TimeSpan CookieLifetime = TimeSpan.FromDays(7);
public static readonly TimeSpan AccessTokenRefreshInterval = TimeSpan.FromHours(1);
}

Expand Down

0 comments on commit 7c1035e

Please sign in to comment.