Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: email should not be required on session expiry

Abdullah Atta62c6fba9a0ff
diff --git a/apps/web/src/views/auth.tsx b/apps/web/src/views/auth.tsx
index 5c3b65326..6daf1afb1 100644
--- a/apps/web/src/views/auth.tsx
+++ b/apps/web/src/views/auth.tsx
@@ -492,6 +492,7 @@ function SessionExpiry(props: BaseAuthComponentProps<"sessionExpiry">) {
placeholder={user ? maskEmail(user.email) : undefined}
autoFocus
disabled
+ required={false}
/>
<Button
data-test-id="auth-forgot-password"
@@ -974,10 +975,10 @@ function SubtitleWithAction(props: SubtitleWithActionProps) {
export function AuthField(props: FieldProps) {
return (
<Field
+ required
{...props}
name={props.name || props.id}
data-test-id={props["data-test-id"] || props.id}
- required
sx={{ mt: 2, width: "100%" }}
styles={{
// label: { fontWeight: "normal" },