mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 13:28:27 +00:00
misc: only display recover when email login is enabled
This commit is contained in:
@@ -352,13 +352,15 @@ export const InitialStep = ({ setStep, email, setEmail, password, setPassword }:
|
|||||||
) : (
|
) : (
|
||||||
<div className="mt-4" />
|
<div className="mt-4" />
|
||||||
)}
|
)}
|
||||||
<div className="mt-2 flex flex-row text-sm text-bunker-400">
|
{shouldDisplayLoginMethod(LoginMethod.EMAIL) && (
|
||||||
<Link href="/verify-email">
|
<div className="mt-2 flex flex-row text-sm text-bunker-400">
|
||||||
<span className="cursor-pointer duration-200 hover:text-bunker-200 hover:underline hover:decoration-primary-700 hover:underline-offset-4">
|
<Link href="/verify-email">
|
||||||
Forgot password? Recover your account
|
<span className="cursor-pointer duration-200 hover:text-bunker-200 hover:underline hover:decoration-primary-700 hover:underline-offset-4">
|
||||||
</span>
|
Forgot password? Recover your account
|
||||||
</Link>
|
</span>
|
||||||
</div>
|
</Link>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user