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