Don't use enable_github_login option after all

Instead the github_client_id option is used to detect if github logins
should be enabled.
This commit is contained in:
Jelle Besseling
2021-01-04 18:09:49 +01:00
parent c49ca66689
commit 43d662f63a
2 changed files with 1 additions and 3 deletions

View File

@ -136,7 +136,7 @@
<li><a href="#" id="google-signin">Sign in with Google</a></li>
<li class="divider"></li>
[% END %]
[% IF c.config.enable_github_login %]
[% IF c.config.github_client_id %]
<li><a href="/github-redirect?after=[% c.req.path %]">Sign in with GitHub</a></li>
<li class="divider"></li>
[% END %]