mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:02:33 +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" })}
|
||||
label="Password"
|
||||
/>
|
||||
<button
|
||||
className="transition-all text-sm hover:text-primary-light-500 dark:hover:text-primary-dark-500"
|
||||
onClick={() => resetPasswordAndContinue()}
|
||||
type="button"
|
||||
disabled={loading}
|
||||
>
|
||||
Reset Password
|
||||
</button>
|
||||
{!loginSettings?.hidePasswordReset && (
|
||||
<button
|
||||
className="transition-all text-sm hover:text-primary-light-500 dark:hover:text-primary-dark-500"
|
||||
onClick={() => resetPasswordAndContinue()}
|
||||
type="button"
|
||||
disabled={loading}
|
||||
>
|
||||
Reset Password
|
||||
</button>
|
||||
)}
|
||||
|
||||
{loginName && (
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user