-
- setPassword(e.target.value)}
- type="password"
- placeholder="Enter your password..."
- isRequired
- autoComplete="current-password"
- id="current-password"
- className="h-12 select:-webkit-autofill:focus"
- />
-
+ {loginEmailChosen && <>
+
+
+ setEmail(e.target.value)}
+ type="email"
+ placeholder="Enter your email..."
+ isRequired
+ autoComplete="username"
+ className="h-12"
+ />
+
+
+ setPassword(e.target.value)}
+ type="password"
+ placeholder="Enter your password..."
+ isRequired
+ autoComplete="current-password"
+ id="current-password"
+ className="h-12 select:-webkit-autofill:focus"
+ />
- {!isLoading && loginError &&
}
+ > Continue with Email
-
-
+ {!isLoading && loginError &&
}
+
>}
+ {!loginEmailChosen &&
-
-
+ setLoginEmailChosen(true);
+ }}
+ size="sm"
+ isFullWidth
+ className='h-12'
+ colorSchema="primary"
+ variant="outline_bg"
+ > Continue with Email
+
}
+
diff --git a/frontend/src/views/Settings/PersonalSettingsPage/AuthMethodSection/AuthMethodSection.tsx b/frontend/src/views/Settings/PersonalSettingsPage/AuthMethodSection/AuthMethodSection.tsx
index 7ca84318d..a3eec451d 100644
--- a/frontend/src/views/Settings/PersonalSettingsPage/AuthMethodSection/AuthMethodSection.tsx
+++ b/frontend/src/views/Settings/PersonalSettingsPage/AuthMethodSection/AuthMethodSection.tsx
@@ -102,7 +102,7 @@ export const AuthMethodSection = () => {
defaultValue={field.value}
{...field}
onValueChange={(e) => onChange(e)}
- className="w-full"
+ className="w-full bg-mineshaft-800 border border-mineshaft-600"
>
{authMethods.map((authMethod) => {
return (