mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 13:22:26 +00:00
hide password reset
This commit is contained in:
@@ -236,14 +236,16 @@ export default function PasswordForm({
|
|||||||
{...register("password", { required: "This field is required" })}
|
{...register("password", { required: "This field is required" })}
|
||||||
label="Password"
|
label="Password"
|
||||||
/>
|
/>
|
||||||
<button
|
{!loginSettings?.hidePasswordReset && (
|
||||||
className="transition-all text-sm hover:text-primary-light-500 dark:hover:text-primary-dark-500"
|
<button
|
||||||
onClick={() => resetPasswordAndContinue()}
|
className="transition-all text-sm hover:text-primary-light-500 dark:hover:text-primary-dark-500"
|
||||||
type="button"
|
onClick={() => resetPasswordAndContinue()}
|
||||||
disabled={loading}
|
type="button"
|
||||||
>
|
disabled={loading}
|
||||||
Reset Password
|
>
|
||||||
</button>
|
Reset Password
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
|
|
||||||
{loginName && (
|
{loginName && (
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user