We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ee693 commit 310f9e8Copy full SHA for 310f9e8
apps/templates/accounts/login.html
@@ -67,13 +67,15 @@ <h3 class="font-weight-bolder text-info text-gradient">
67
<p class="mb-4 text-sm mx-auto">
68
69
<!-- GitHub button starts here -->
70
- {% if SOCIAL_AUTH_GITHUB %}
+ {% if GITHUB_AUTH %}
71
72
<p class="mb-2">or SignIn with</p>
73
74
- <a class="btn btn-outline" href="#">
75
- <span class="text-lg fs-1 fab fa-github"></span>
76
- </a>
+ <form method="post" action="/social_login/github/login/?next=%2F">{% csrf_token %}
+ <button class="btn btn-outline" type="submit">
+ <span class="text-lg fs-1 fab fa-github"></span>
77
+ </button>
78
+ </form>
79
80
{% endif %}
81
<!-- GitHub ends here -->
0 commit comments