Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 0f464d5

Browse files
authored
fix: password toggle on disable 2FA modal (#176)
1 parent 7a2e3c2 commit 0f464d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/components/modals/password-confirmation.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class="h-28"
3131
</div>
3232

3333
<form
34+
id="password-confirmation"
3435
class="mt-8"
3536
@keydown.enter="$wire.{{ $actionMethod }}()"
3637
x-on:submit.prevent
@@ -44,9 +45,7 @@ class="mt-8"
4445
<x-ark-password-toggle
4546
name="confirmedPassword"
4647
:label="trans('fortify::forms.password')"
47-
autocomplete="current-password"
4848
:errors="$errors"
49-
masked
5049
/>
5150
</div>
5251
</form>
@@ -65,6 +64,7 @@ class="button-secondary"
6564

6665
<button
6766
type="submit"
67+
form="password-confirmation"
6868
dusk="confirm-password-form-submit"
6969
class="inline-flex items-center justify-center button-primary"
7070
wire:click="{{ $actionMethod }}"

0 commit comments

Comments
 (0)