remove register
and forgotPassword
boilerplate pages
This commit is contained in:
@ -1,6 +0,0 @@
|
||||
import {AuthPage, ThemedTitleV2} from '@refinedev/mui'
|
||||
import {ProjectIcon} from '../../components/ui/Icons'
|
||||
|
||||
export const ForgotPassword = () => {
|
||||
return <AuthPage type="forgotPassword" title={<ThemedTitleV2 collapsed={false} text="Белые Ночи" icon={<ProjectIcon style={{color: '#7f6b58'}} />} />} />
|
||||
}
|
@ -6,14 +6,8 @@ export const Login = () => {
|
||||
<AuthPage
|
||||
type="login"
|
||||
title={<ThemedTitleV2 collapsed={false} text="Белые Ночи" icon={<ProjectIcon style={{color: '#7f6b58'}} />} />}
|
||||
// formProps={
|
||||
// {
|
||||
// // defaultValues: {
|
||||
// // email: 'test@wn.ru',
|
||||
// // password: 'testwn',
|
||||
// // },
|
||||
// }
|
||||
// }
|
||||
forgotPasswordLink={false}
|
||||
registerLink={false} // only admin can add users
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
import {AuthPage, ThemedTitleV2} from '@refinedev/mui'
|
||||
import {ProjectIcon} from '../../components/ui/Icons'
|
||||
|
||||
export const Register = () => {
|
||||
return <AuthPage type="register" title={<ThemedTitleV2 collapsed={false} text="Белые Ночи" icon={<ProjectIcon style={{color: '#7f6b58'}} />} />} />
|
||||
}
|
Reference in New Issue
Block a user