Skip to content

Commit

Permalink
Fix 2fa form showing when password is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher committed Sep 13, 2023
1 parent 51df430 commit dd9d49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/inertia/resources/js/Pages/Profile/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defineProps({
<SectionBorder />
</div>

<div v-if="$page.props.jetstream.canManageTwoFactorAuthentication">
<div v-if="$page.props.jetstream.canManageTwoFactorAuthentication && $page.props.socialstream.hasPassword">
<TwoFactorAuthenticationForm :requires-confirmation="confirmsTwoFactorAuthentication"
class="mt-10 sm:mt-0" />

Expand Down

0 comments on commit dd9d49b

Please sign in to comment.