Skip to content

Commit 0248c78

Browse files
[6.x] Fix open state of Disable 2FA modal (#13571)
1 parent 77fca45 commit 0248c78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/js/components/two-factor/TwoFactor.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,10 @@ function disable() {
117117
/>
118118

119119
<ConfirmationModal
120-
v-if="disableModalOpen"
120+
v-model:open="disableModalOpen"
121121
:title="__('Are you sure?')"
122122
:danger="true"
123123
@confirm="disable"
124-
@cancel="disableModalOpen = false"
125124
>
126125
<p class="mb-2" v-html="__('statamic::messages.disable_two_factor_authentication')"></p>
127126

0 commit comments

Comments
 (0)