Skip to content

Commit

Permalink
Skip "You are about to login" dialog on DPB Login
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEbbinghaus committed Oct 29, 2024
1 parent e050073 commit f98bd40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ <h1>Login</h1>
<h3>oder</h3>
<ul>
{% for provider in socialaccount_providers %}
<li><a href="{% provider_login_url provider.id next=next %}" class="btn btn-dark">{{ provider.name }}</a></li>
<li>
<!-- {{ provider.id }} -->
<form method="post" action="{% provider_login_url provider.id next=next %}">
{% csrf_token %}
<button type="submit" class="btn btn-dark">{{ provider.name }}</button>
</form>
</li>
{% endfor %}
</ul>
{% endif %}
Expand Down

0 comments on commit f98bd40

Please sign in to comment.