Function LoginForm
-
LoginForm(
__namedParameters: FormProps & {
notice?: string;
onRegister?: () => void;
onSuccess?: (response: AccountLoginResponse) => void | Promise<void>;
passwordResetUrl?: string;
registerUrl?: string;
},
): ElementParameters
- __namedParameters: FormProps & {
notice?: string;
onRegister?: () => void;
onSuccess?: (response: AccountLoginResponse) => void | Promise<void>;
passwordResetUrl?: string;
registerUrl?: string;
}-
Optionalnotice?: stringOptional customer-visible notice. Optional; omitted unless supplied by the host or backend.
-
OptionalonRegister?: () => voidOpen host registration in place of following the registration URL. Optional; omitted unless supplied by the host or backend.
-
OptionalonSuccess?: (response: AccountLoginResponse) => void | Promise<void>Handle successful authentication; the host owns navigation. Optional; omitted unless supplied by the host or backend.
-
OptionalpasswordResetUrl?: stringHost password reset request route.
-
OptionalregisterUrl?: stringHost registration route.
-
Returns Element
- __namedParameters: FormProps & {
Render same-origin customer sign-in, keeping incorrect credentials inline.