Merge branch 'authorizerdev:main' into main

This commit is contained in:
Anand Kumar Panigrahi 2023-12-11 15:12:23 +05:30 committed by GitHub
commit b8c6ee0a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 && (