Fix password manager take reset password token as username

close #59

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-21 16:53:30 +01:00
parent f53f2e0c9e
commit aff9a2a291
2 changed files with 6 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ export default function ConfirmInvitationPage() {
placeholder="Enter your invitation token"
disabled={isLoading}
required
autoComplete="off"
/>
<p className="text-xs text-gray-500 dark:text-gray-400">
The token has been automatically filled from the URL if
@@ -166,6 +167,7 @@ export default function ConfirmInvitationPage() {
placeholder="Create a password"
disabled={isLoading}
required
autoComplete="new-password"
/>
</div>
@@ -179,6 +181,7 @@ export default function ConfirmInvitationPage() {
placeholder="Confirm your password"
disabled={isLoading}
required
autoComplete="new-password"
/>
</div>

View File

@@ -148,6 +148,7 @@ export default function ResetPasswordPage() {
placeholder="Enter your reset token"
disabled={isLoading}
required
autoComplete="off"
/>
<p className="text-xs text-gray-500 dark:text-gray-400">
The token has been automatically filled from the URL if
@@ -165,6 +166,7 @@ export default function ResetPasswordPage() {
placeholder="Enter new password"
disabled={isLoading}
required
autoComplete="new-password"
/>
</div>
@@ -178,6 +180,7 @@ export default function ResetPasswordPage() {
placeholder="Confirm your new password"
disabled={isLoading}
required
autoComplete="new-password"
/>
</div>