web: email should not be required on session expiry

This commit is contained in:
Abdullah Atta
2025-07-21 12:10:43 +05:00
parent f90e7982f7
commit 62c6fba9a0

View File

@@ -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" },