Skip to content

Commit 310f9e8

Browse files
committed
OAuth - Update SignIN Page
1 parent 75ee693 commit 310f9e8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

apps/templates/accounts/login.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,15 @@ <h3 class="font-weight-bolder text-info text-gradient">
6767
<p class="mb-4 text-sm mx-auto">
6868

6969
<!-- GitHub button starts here -->
70-
{% if SOCIAL_AUTH_GITHUB %}
70+
{% if GITHUB_AUTH %}
7171

7272
<p class="mb-2">or SignIn with</p>
7373

74-
<a class="btn btn-outline" href="#">
75-
<span class="text-lg fs-1 fab fa-github"></span>
76-
</a>
74+
<form method="post" action="/social_login/github/login/?next=%2F">{% csrf_token %}
75+
<button class="btn btn-outline" type="submit">
76+
<span class="text-lg fs-1 fab fa-github"></span>
77+
</button>
78+
</form>
7779

7880
{% endif %}
7981
<!-- GitHub ends here -->

0 commit comments

Comments
 (0)