Skip to content

Commit

Permalink
feat(auth): enable google login/link
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeg committed Aug 21, 2024
1 parent a320e08 commit ef1e8d1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions views/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,9 @@
<a class="navbar-item" href="/auth/twitch">
<img src="/images/identity_providers/twitch.png" width="20" height="20" /><strong>Log in with Twitch</strong>
</a>
<!--
<a class="navbar-item" href="/auth/google">
<img src="/images/identity_providers/google.png" width="20" height="20" /><strong>Log in with Google</strong>
</a>
-->
</div>
</div>
<% } %>
Expand Down
2 changes: 0 additions & 2 deletions views/link.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,11 @@
</table>
</div>
<div class="block">
<!--
<% if (!providers.google) { %>
<a class="button" href="/auth/link/google">
<img src="/images/identity_providers/google.png" width="30" height="30" />&nbsp;Link Google account
</a>
<% } %>
-->
<% if (!providers.twitch) { %>
<a class="button" href="/auth/link/twitch">
<img src="/images/identity_providers/twitch.png" width="30" height="30" />&nbsp;Link Twitch account
Expand Down
2 changes: 0 additions & 2 deletions views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@
<img src="/images/identity_providers/twitch.png" width="30" height="30" />&nbsp;Log in with Twitch
</a>

<!--
<a class="button" href="/auth/google">
<img src="/images/identity_providers/google.png" width="30" height="30" />&nbsp;Log in with Google
</a>
-->
</p>
</div>
</section>
Expand Down

0 comments on commit ef1e8d1

Please sign in to comment.