File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
{% load i18n %}
3
3
{% load account %}
4
4
{% load django_bootstrap_breadcrumbs %}
5
+ {% load account socialaccount %}
5
6
6
7
{% block head_title %}{% trans "Sign In" %} · {{ block.super }}{% endblock %}
7
8
17
18
< div class ="form-container space-2-bottom {% if form.errors %} has-error {% endif %} ">
18
19
< h2 class ="text-center "> {% trans "Sign In" %}</ h2 >
19
20
< div class ="pad-2 push-half-top push-2-bottom ">
20
- {% if socialaccount.providers %}
21
+ {% get_providers as socialaccount_providers %}
22
+ {% if socialaccount_providers %}
21
23
< p >
22
24
{% blocktrans %}Sign in with your third party accounts or using an existing account:{% endblocktrans %}
23
25
</ p >
Original file line number Diff line number Diff line change 1
1
{% load socialaccount %}
2
+ {% get_providers as socialaccount_providers %}
2
3
3
- {% for provider in socialaccount.providers %}
4
+ {% for provider in socialaccount_providers %}
4
5
{% if provider.id == "openid" %}
5
6
{% for brand in provider.get_brands %}
6
7
< li >
Original file line number Diff line number Diff line change 66
66
'allauth.socialaccount' ,
67
67
'allauth.socialaccount.providers.google' ,
68
68
'allauth.socialaccount.providers.github' ,
69
- 'allauth.socialaccount.providers.twitter' ,
70
- 'allauth.socialaccount.providers.linkedin' ,
71
- 'allauth.socialaccount.providers.facebook' ,
72
69
73
70
'bootstrap3' ,
74
71
You can’t perform that action at this time.
0 commit comments