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

Commit 782cd70

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codecov_auth/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def impersonate_owner(self, request, queryset):
9393

9494
# this cookie is read by the `ImpersonationMiddleware` and
9595
# will reset `request.current_owner` to the impersonated owner
96-
max_age = datetime.timedelta(minutes=3)
96+
max_age = 900 # 15 minutes
9797
response.set_cookie(
9898
"staff_user",
9999
owner.ownerid,
@@ -586,6 +586,7 @@ class OwnerAdmin(AdminMixin, admin.ModelAdmin):
586586
"student_created_at",
587587
"student_updated_at",
588588
"user",
589+
"trial_fired_by",
589590
)
590591

591592
fields = readonly_fields + (

0 commit comments

Comments
 (0)