Skip to content

Commit

Permalink
Conditionally showing the separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Lea authored and Tony Lea committed Dec 4, 2024
1 parent 0828339 commit 9f3ed99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/pages/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function register()
<x-auth::elements.session-message />

@if(config('devdojo.auth.settings.social_providers_location') == 'top')
<x-auth::elements.social-providers />
<x-auth::elements.social-providers :separator="$showEmailRegistration" />
@endif

@if($showEmailRegistration)
Expand Down Expand Up @@ -190,7 +190,7 @@ public function register()
</div>

@if(config('devdojo.auth.settings.social_providers_location') != 'top')
<x-auth::elements.social-providers />
<x-auth::elements.social-providers :separator="$showEmailRegistration" />
@endif


Expand Down

0 comments on commit 9f3ed99

Please sign in to comment.