Skip to content

Commit

Permalink
Merge pull request #118 from ch4r-ch4r/fix-social-providers-tags
Browse files Browse the repository at this point in the history
fix social providers component and two factor authentication page closing tags
  • Loading branch information
tnylea authored Sep 20, 2024
2 parents 9c0c24f + a0f1b51 commit b721c9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
])
@if(count($socialProviders))
@if($separator && config('devdojo.auth.settings.social_providers_location') != 'top')
<x-auth::elements.separator class="my-6">{{ $separator_text }}</x-auto::elements.separator>
<x-auth::elements.separator class="my-6">{{ $separator_text }}</x-auth::elements.separator>
@endif
<div class="relative space-y-2 w-full">
@foreach($socialProviders as $slug => $provider)
<x-auth::elements.social-button :$slug :$provider />
@endforeach
</div>
@if($separator && config('devdojo.auth.settings.social_providers_location') == 'top')
<x-auth::elements.separator class="my-6">{{ $separator_text }}</x-auto::elements.separator>
<x-auth::elements.separator class="my-6">{{ $separator_text }}</x-auth::elements.separator>
@endif
@endif
@endif
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ public function disable(){
</div>
@endif
<div class="flex items-center space-x-5">
<x-auth::elements.button type="primary" wire:click="regenerateCodes" rounded="md" size="md">Regenerate Codes</x-auto::elements.button>
<x-auth::elements.button type="danger" wire:click="disable" size="md" rounded="md">Disable 2FA</x-auto::elements.button>
<x-auth::elements.button type="primary" wire:click="regenerateCodes" rounded="md" size="md">Regenerate Codes</x-auth::elements.button>
<x-auth::elements.button type="danger" wire:click="disable" size="md" rounded="md">Disable 2FA</x-auth::elements.button>
</div>
</div>

Expand Down Expand Up @@ -153,8 +153,8 @@ public function disable(){
@enderror

<div class="flex items-center space-x-5">
<x-auth::elements.button type="secondary" size="md" rounded="md" wire:click="cancelTwoFactor" wire:target="cancelTwoFactor">Cancel</x-auto::elements.button>
<x-auth::elements.button type="primary" size="md" wire:click="submitCode(document.getElementById('auth-input-code').value)" wire:target="submitCode" rounded="md">Confirm</x-auto::elements.button>
<x-auth::elements.button type="secondary" size="md" rounded="md" wire:click="cancelTwoFactor" wire:target="cancelTwoFactor">Cancel</x-auth::elements.button>
<x-auth::elements.button type="primary" size="md" wire:click="submitCode(document.getElementById('auth-input-code').value)" wire:target="submitCode" rounded="md">Confirm</x-auth::elements.button>
</div>

</div>
Expand Down

0 comments on commit b721c9c

Please sign in to comment.