Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added explicit comment of intent

Sheen Capadnganb3463e0d0fe5
diff --git a/frontend/src/views/admin/DashboardPage/AuthPanel.tsx b/frontend/src/views/admin/DashboardPage/AuthPanel.tsx
index 0060cb095a..f2fab83ec1 100644
--- a/frontend/src/views/admin/DashboardPage/AuthPanel.tsx
+++ b/frontend/src/views/admin/DashboardPage/AuthPanel.tsx
@@ -31,6 +31,7 @@ export const AuthPanel = () => {
formState: { isSubmitting, isDirty }
} = useForm<TAuthForm>({
resolver: zodResolver(formSchema),
+ // if not yet explicitly defined by the admin, all login methods should be enabled by default
values: enabledLoginMethods
? {
isEmailEnabled: enabledLoginMethods.includes(LoginMethod.EMAIL),