diff --git a/apps/web/pages/v2/settings/security/password.tsx b/apps/web/pages/v2/settings/security/password.tsx index 74f04cd3fc..b09bfe42bc 100644 --- a/apps/web/pages/v2/settings/security/password.tsx +++ b/apps/web/pages/v2/settings/security/password.tsx @@ -52,40 +52,44 @@ const PasswordView = () => { const { oldPassword, newPassword } = values; mutation.mutate({ oldPassword, newPassword }); }}> -
- ( - { - formMethods.setValue("oldPassword", e?.target.value); - }} - /> - )} - /> - ( - { - formMethods.setValue("newPassword", e?.target.value); - }} - /> - )} - /> +
+
+ ( + { + formMethods.setValue("oldPassword", e?.target.value); + }} + /> + )} + /> +
+
+ ( + { + formMethods.setValue("newPassword", e?.target.value); + }} + /> + )} + /> +
-

+

Password must be at least at least 7 characters, mix of uppercase & lowercase letters, and contain at least 1 number diff --git a/apps/web/pages/v2/settings/security/two-factor-auth.tsx b/apps/web/pages/v2/settings/security/two-factor-auth.tsx index 061bbfd6cb..2f58041efe 100644 --- a/apps/web/pages/v2/settings/security/two-factor-auth.tsx +++ b/apps/web/pages/v2/settings/security/two-factor-auth.tsx @@ -1,4 +1,4 @@ -import { useState, useContext } from "react"; +import { useState } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc/react"; @@ -34,12 +34,12 @@ const TwoFactorAuthView = () => { />

-

{t("two_factor_auth")}

+

{t("two_factor_auth")}

{user?.twoFactorEnabled ? t("enabled") : t("disabled")}
-

Add an extra layer of security to your account.

+

Add an extra layer of security to your account.