Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion resources/views/livewire/auth/two-factor-challenge.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ class="relative w-full h-auto"
<div class="space-y-5 text-center">
<div x-show="!showRecoveryInput">
<div class="flex items-center justify-center my-5">
<flux:otp x-model="code" length="6" name="code" submit="auto" />
<flux:otp
x-model="code"
length="6"
name="code"
label="OTP Code"
label:sr-only
class="mx-auto"
/>
</div>
</div>

Expand Down
11 changes: 9 additions & 2 deletions resources/views/livewire/settings/two-factor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,15 @@ class="max-w-md md:min-w-md"

@if ($showVerificationStep)
<div class="space-y-6">
<div class="flex flex-col items-center space-y-3">
<flux:otp wire:model="code" length="6" submit="auto" />
<div class="flex flex-col items-center space-y-3 justify-center">
<flux:otp
name="code"
wire:model="code"
length="6"
label="OTP Code"
label:sr-only
class="mx-auto"
/>
</div>

<div class="flex items-center space-x-3">
Expand Down