Fixed failing signups and made oauth settings work
Fixed the signup form so it no longer fails, and made the oauth login buttons only appear when they have been enabled in the settings.json file
This commit is contained in:
@@ -154,13 +154,17 @@
|
||||
<h1>Sign into {{ appName }}</h1>
|
||||
<p>Log in:</p>
|
||||
</div>
|
||||
{% if oauthlogin == "true" %}
|
||||
<div class="oauth-buttons">
|
||||
{% if githublogin == "true" %}
|
||||
<a href="{{ githubUrl }}" class="button">
|
||||
<img src="{{ url_for('static', filename='github-icon.png') }}" alt="Github logo">
|
||||
Sign in with Github
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="divider">Or</div>
|
||||
{% endif %}
|
||||
<div class="emaillogin">
|
||||
<input id="userbox" class="input" type="text" name="username" placeholder="Username">
|
||||
<input id="passbox" class="input" type="password" name="password" placeholder="Password">
|
||||
|
||||
Reference in New Issue
Block a user