From cb92fcf7b40b58f6975d2d83749851bf3b1a75a5 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Tue, 24 May 2016 15:39:34 +0200 Subject: [PATCH] templates: Remove social auth plugins code from login and register templates. --- rhodecode/templates/login.html | 10 ---------- rhodecode/templates/register.html | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/rhodecode/templates/login.html b/rhodecode/templates/login.html index 55cf042c..293b762e 100644 --- a/rhodecode/templates/login.html +++ b/rhodecode/templates/login.html @@ -1,6 +1,5 @@ ## -*- coding: utf-8 -*- <%inherit file="base/root.html"/> -<%namespace file="base/social_buttons.html" import="render_social_buttons"/> <%def name="title()"> ${_('Sign In')} @@ -57,15 +56,6 @@ }) - - % if c.social_plugins: -

${_('Sign In using one of external services')}:

- -

- ${render_social_buttons(c.social_plugins, 'login')} -

- % endif - diff --git a/rhodecode/templates/register.html b/rhodecode/templates/register.html index 50efcaa9..d6c2eaa0 100644 --- a/rhodecode/templates/register.html +++ b/rhodecode/templates/register.html @@ -1,6 +1,5 @@ ## -*- coding: utf-8 -*- <%inherit file="base/root.html"/> -<%namespace file="base/social_buttons.html" import="render_social_buttons"/> <%def name="title()"> ${_('Create an Account')} @@ -72,15 +71,6 @@ ${h.end_form()} - - % if c.social_plugins: -

${_('Register using one of external services')}:

- -

- ${render_social_buttons(c.social_plugins, 'register')} -

- % endif -