fix: remove forgot password for magic link login
This commit is contained in:
parent
e4a8eb3542
commit
a002e2faf7
|
@ -49,17 +49,18 @@ export default function Login({ urlProps }: { urlProps: Record<string, any> }) {
|
||||||
<AuthorizerMagicLinkLogin urlProps={urlProps} />
|
<AuthorizerMagicLinkLogin urlProps={urlProps} />
|
||||||
)}
|
)}
|
||||||
{(config.is_basic_authentication_enabled ||
|
{(config.is_basic_authentication_enabled ||
|
||||||
config.is_mobile_basic_authentication_enabled) && (
|
config.is_mobile_basic_authentication_enabled) &&
|
||||||
<Footer>
|
!config.is_magic_link_login_enabled && (
|
||||||
<Link
|
<Footer>
|
||||||
to="#"
|
<Link
|
||||||
onClick={() => setView(VIEW_TYPES.FORGOT_PASSWORD)}
|
to="#"
|
||||||
style={{ marginBottom: 10 }}
|
onClick={() => setView(VIEW_TYPES.FORGOT_PASSWORD)}
|
||||||
>
|
style={{ marginBottom: 10 }}
|
||||||
Forgot Password?
|
>
|
||||||
</Link>
|
Forgot Password?
|
||||||
</Footer>
|
</Link>
|
||||||
)}
|
</Footer>
|
||||||
|
)}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
{view === VIEW_TYPES.FORGOT_PASSWORD && (
|
{view === VIEW_TYPES.FORGOT_PASSWORD && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user