Skip to content

Commit 9d4bf16

Browse files
feat(admin): Increase impersonation timeout to 100 years
1 parent ec5793f commit 9d4bf16

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/sim/lib/auth/auth.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,9 @@ export const auth = betterAuth({
861861
}),
862862
]
863863
: []),
864-
admin(),
864+
admin({
865+
impersonationSessionDuration: 60 * 60 * 24 * 365 * 100,
866+
}),
865867
jwt({
866868
jwks: {
867869
keyPairConfig: { alg: 'RS256' },

0 commit comments

Comments
 (0)