Persist auth keys across deployments
This commit is contained in:
@@ -95,7 +95,8 @@ public class LoginModel(AuthService authService) : PageModel
|
||||
|
||||
var properties = new AuthenticationProperties
|
||||
{
|
||||
IsPersistent = false,
|
||||
IsPersistent = true,
|
||||
ExpiresUtc = DateTimeOffset.UtcNow.AddHours(12),
|
||||
RedirectUri = RedirectUrl
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user