diff --git a/apps/studio/components/interfaces/Auth/SessionsAuthSettingsForm/SessionsAuthSettingsForm.tsx b/apps/studio/components/interfaces/Auth/SessionsAuthSettingsForm/SessionsAuthSettingsForm.tsx
index 7ae7a7cc958..3cea989af22 100644
--- a/apps/studio/components/interfaces/Auth/SessionsAuthSettingsForm/SessionsAuthSettingsForm.tsx
+++ b/apps/studio/components/interfaces/Auth/SessionsAuthSettingsForm/SessionsAuthSettingsForm.tsx
@@ -44,10 +44,7 @@ function HoursOrNeverText({ value }: { value: number }) {
const RefreshTokenSchema = z.object({
REFRESH_TOKEN_ROTATION_ENABLED: z.boolean(),
- SECURITY_REFRESH_TOKEN_REUSE_INTERVAL: z.coerce
- .number()
- .positive()
- .min(0, 'Must be a value more than 0'),
+ SECURITY_REFRESH_TOKEN_REUSE_INTERVAL: z.coerce.number().min(0, 'Must be a value more than 0'),
})
const UserSessionsSchema = z.object({
@@ -202,32 +199,30 @@ export const SessionsAuthSettingsForm = () => {
)}
/>
- {refreshTokenForm.watch('REFRESH_TOKEN_ROTATION_ENABLED') && (
-
- (
-
-
-
-
-
-
-
- )}
- />
-
- )}
+
+ (
+
+
+
+
+
+
+
+ )}
+ />
+
{refreshTokenForm.formState.isDirty && (