aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/auth/general.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/auth/general.html')
-rw-r--r--templates/web/base/auth/general.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/auth/general.html b/templates/web/base/auth/general.html
index d630dd415..76426f5d8 100644
--- a/templates/web/base/auth/general.html
+++ b/templates/web/base/auth/general.html
@@ -16,7 +16,7 @@
<input type="hidden" name="r" value="[% c.req.params.r | html %]">
-[% IF NOT oauth_need_email AND (c.config.FACEBOOK_APP_ID OR c.config.TWITTER_KEY) %]
+[% IF NOT oauth_need_email AND c.cobrand.social_auth_enabled %]
[% IF c.config.FACEBOOK_APP_ID %]
<div class="form-box">
<button name="facebook_sign_in" id="facebook_sign_in" value="facebook_sign_in" class="btn btn--block btn--social btn--facebook">
@@ -64,7 +64,7 @@
[% END %]
</div>
-[% IF NOT oauth_need_email AND (c.config.FACEBOOK_APP_ID OR c.config.TWITTER_KEY) %]
+[% IF NOT oauth_need_email AND c.cobrand.social_auth_enabled %]
</div>
[% END %]