Adding LDAP support
This commit is contained in:
1 parent
d60ad42f0c
commit
f2b99089ea
17 files changed
+541
-23
No files matched your search
@@ -6,9 +6,15 @@
|
||||
<h1>{{ app_name }}</h1>
|
||||
<p class="muted">Sign in to continue</p>
|
||||
{% if error %}<div class="alert">{{ error }}</div>{% endif %}
|
||||
{% if ldap_enabled %}
|
||||
<label>Email or username
|
||||
<input type="text" name="email" value="{{ email or '' }}" required autofocus>
|
||||
</label>
|
||||
{% else %}
|
||||
<label>Email
|
||||
<input type="email" name="email" value="{{ email or '' }}" required autofocus>
|
||||
</label>
|
||||
{% endif %}
|
||||
<label>Password
|
||||
<input type="password" name="password" required>
|
||||
</label>
|
||||
|
||||
Reference in new issue
Block a user