Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 8152625

Browse files
committed
change to 15 mins
1 parent 420e9d0 commit 8152625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codecov_auth/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import datetime
21
import logging
32
from datetime import timedelta
43
from typing import Optional, Sequence
@@ -93,7 +92,7 @@ def impersonate_owner(self, request, queryset):
9392

9493
# this cookie is read by the `ImpersonationMiddleware` and
9594
# will reset `request.current_owner` to the impersonated owner
96-
max_age = datetime.timedelta(minutes=3)
95+
max_age = 900 # 15 minutes
9796
response.set_cookie(
9897
"staff_user",
9998
owner.ownerid,
@@ -586,6 +585,7 @@ class OwnerAdmin(AdminMixin, admin.ModelAdmin):
586585
"student_created_at",
587586
"student_updated_at",
588587
"user",
588+
"trial_fired_by",
589589
)
590590

591591
fields = readonly_fields + (

0 commit comments

Comments
 (0)