restore process in provider list
authorJan Szejko <janek37@gmail.com>
Thu, 12 Apr 2018 08:46:38 +0000 (10:46 +0200)
committerJan Szejko <janek37@gmail.com>
Thu, 12 Apr 2018 08:46:38 +0000 (10:46 +0200)
src/wolnelektury/templates/socialaccount/snippets/provider_list.html

index d998b7a..3f467b1 100644 (file)
@@ -8,7 +8,7 @@
             <li>
                 <a title="{{brand.name}}" 
                     class="socialaccount_provider {{provider.id}} {{brand.id}}" 
-                    href="{% provider_login_url provider.id openid=brand.openid_url %}"
+                    href="{% provider_login_url provider.id openid=brand.openid_url process=process %}"
                     ><img alt="{{ brand.name }}"
                         src="{% static 'img/auth/'|add:brand.id|add:'.png' %}" /></a>
             </li>
@@ -16,7 +16,7 @@
     {% endif %}
     <li>
         <a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}" 
-            href="{% provider_login_url provider.id %}"
+            href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"
             ><img alt="{{ provider.name }}"
                 src="{% static 'img/auth/'|add:provider.id|add:'.png' %}" /></a>
     </li>