Skip to content

Commit c999748

Browse files
committed
fix: conditionally render skip button in TwoFactorsSetup component
1 parent d0eaf6f commit c999748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/TwoFactorsSetup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<LinkButton to="/login" class="w-full">
5252
{{$t('Back to login')}}
5353
</LinkButton>
54-
<Button @click="handleSkip" class="w-full">
54+
<Button v-if="skipAllowed" @click="handleSkip" class="w-full">
5555
{{$t('Skip for now')}}
5656
</Button>
5757
</div>

0 commit comments

Comments
 (0)