From 0054ec83dd7d5e268f39a4d808dfadfcf02fbf7f Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Fri, 14 Apr 2023 14:16:35 +0200 Subject: [PATCH] feat: add secure password change setting --- .../schema/AuthProviders/AuthProvidersFormValidation.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx index a5d6d7118be..750ff44fa62 100644 --- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx +++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx @@ -24,6 +24,12 @@ const PROVIDER_EMAIL = { If disabled, only the new email is required to confirm.`, type: 'boolean', }, + SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION: { + title: 'Secure password change', + description: `Users will need to be recently logged in to change their password. + If disabled, a user can change their password at any time.`, + type: 'boolean', + }, MAILER_OTP_EXP: { title: 'Mailer OTP Expiration', type: 'number',