# HG changeset patch # User Johannes Bornhold # Date 2016-05-24 13:39:34 # Node ID fd48e82c7f9d572e426f44a11ca683b0c3a6296b # Parent dd346b2b1b7e7f616b52279249ea02de14cab901 templates: Remove social auth plugins code from login and register templates. diff --git a/rhodecode/templates/login.html b/rhodecode/templates/login.html --- 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 --- 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 -