From 0a9073122cbdbde2740e5f4a67d81050a85c6dfb Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Tue, 21 May 2024 14:42:48 -0300 Subject: [PATCH] fix: add social logins to the signup screen Now both /accounts/signup/ and /accounts/login/ should have social buttons. --- allauth_ui/templates/account/signup.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/allauth_ui/templates/account/signup.html b/allauth_ui/templates/account/signup.html index c2dafff..ae328c5 100644 --- a/allauth_ui/templates/account/signup.html +++ b/allauth_ui/templates/account/signup.html @@ -1,5 +1,5 @@ {% extends "account/base.html" %} -{% load i18n %} +{% load i18n allauth_ui %} {% block head_title %} {% translate "Sign up" %} {% endblock %} @@ -15,4 +15,8 @@

Sign up

{% translate "Already have an account? Sign in." %} + {% check_allauth_socialaccount_installed as is_allauth_socialaccount_installed %} + {% if is_allauth_socialaccount_installed %} + {% include "socialaccount/snippets/social_login.html" %} + {% endif %} {% endblock %}