#5: Don't show the "alternatively..." message when no social media providers are configured
This commit is contained in:
parent
37375eb7e6
commit
e4863af668
@ -2,9 +2,8 @@
|
|||||||
@if (UserConfig::isSocialMediaLoginEnabled())
|
@if (UserConfig::isSocialMediaLoginEnabled())
|
||||||
<p>@lang('auth.social_login')</p>
|
<p>@lang('auth.social_login')</p>
|
||||||
@include(Theme::viewName('partials.social_login_providers'))
|
@include(Theme::viewName('partials.social_login_providers'))
|
||||||
@endif
|
|
||||||
|
|
||||||
<p class="mt-5 mb-4">@lang('auth.email_password_login')</p>
|
<p class="mt-5 mb-4">@lang('auth.email_password_login')</p>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<p>@lang('auth.email_password_login_sso')</p>
|
<p>@lang('auth.email_password_login_sso')</p>
|
||||||
<p class="mb-5">@lang('auth.email_password_login_sso_2')</p>
|
<p class="mb-5">@lang('auth.email_password_login_sso_2')</p>
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
@if (UserConfig::isSocialMediaLoginEnabled())
|
@if (UserConfig::isSocialMediaLoginEnabled())
|
||||||
<p>@lang('auth.social_register')</p>
|
<p>@lang('auth.social_register')</p>
|
||||||
@include(Theme::viewName('partials.social_login_providers'))
|
@include(Theme::viewName('partials.social_login_providers'))
|
||||||
@endif
|
|
||||||
|
|
||||||
<p class="mt-5 mb-4">@lang('auth.email_password_register')</p>
|
<p class="mt-5 mb-4">@lang('auth.email_password_register')</p>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<p class="mb-4">@lang('auth.email_password_register_sso')</p>
|
<p class="mb-4">@lang('auth.email_password_register_sso')</p>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user