sacred-emeraldS
Refine17mo ago
4 replies
sacred-emerald

is there a way to add a custom name in login default values or we need custom component

import { AuthPage } from "@refinedev/mui";
import { CustomLogo } from "./CustomLogo";

export const Login = () => {
return (
<AuthPage
type="login"
title={<CustomLogo />}
registerLink={false}
forgotPasswordLink={false}
formProps={{
defaultValues: { UserName: "", password: "" },
}}
/>
);
};


i tried this but still i getting the authProvider that email,password --> theres is one userName and its undefined values
Was this page helpful?