diff --git a/InvenTree/templates/registration/login.html b/InvenTree/templates/registration/login.html index 708a69531a..1d3f261394 100644 --- a/InvenTree/templates/registration/login.html +++ b/InvenTree/templates/registration/login.html @@ -1,6 +1,7 @@ {% load static %} {% load i18n %} {% load inventree_extras %} +{% load socialaccount %} @@ -84,9 +85,21 @@ {% endif %} + +
- + {% get_providers as socialaccount_providers %} + + {% if socialaccount_providers %} +

{% trans 'Login with provider' %}

+ {% for provider in socialaccount_providers %} + {{ provider.name }} + + {% blocktrans with name=provider.name %}Login with {{name}}{% endblocktrans%} + + {% endfor %} + {% endif %} @@ -101,5 +114,7 @@ +{% providers_media_js %} + \ No newline at end of file