From 1ad5220573b7aa9d7e9036f640256a88f61b8b0c Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 10 Jun 2021 16:20:30 +0200 Subject: [PATCH] Rename variable --- readthedocs/templates/account/signup.html | 2 +- readthedocs/templates/socialaccount/snippets/provider_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readthedocs/templates/account/signup.html b/readthedocs/templates/account/signup.html index 5679b8aed86..d4bb80582e2 100644 --- a/readthedocs/templates/account/signup.html +++ b/readthedocs/templates/account/signup.html @@ -13,7 +13,7 @@

{% trans "Sign Up" %}

{% blocktrans %}Already have an account? Then please sign in.{% endblocktrans %}

-{% if signup_providers %} +{% if allowed_providers %}

{% if organization %} {% blocktrans trimmed with organization.name as organization_name %} diff --git a/readthedocs/templates/socialaccount/snippets/provider_list.html b/readthedocs/templates/socialaccount/snippets/provider_list.html index 04501d64803..7299538d04a 100644 --- a/readthedocs/templates/socialaccount/snippets/provider_list.html +++ b/readthedocs/templates/socialaccount/snippets/provider_list.html @@ -19,7 +19,7 @@ {% endfor %} {% endif %} {% if provider.id != 'bitbucket' %} - {% if signup_providers and provider.id in signup_providers or not signup_providers %} + {% if allowed_providers and provider.id in allowed_providers or not allowed_providers %}