Fixed signups and oauth buttons now only show if enabled
The signup form now works and the oauth buttons are only visible if 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