summaryrefslogtreecommitdiff
path: root/templates/login_form.html
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-06-21 16:52:56 -0400
committerB. Stack <bgstack15@gmail.com>2021-06-21 16:52:56 -0400
commit1c5123a2b47006e59739959ab67b51129d39a761 (patch)
tree504c05af2c6a305e99c88c5a2f9537c9727950a4 /templates/login_form.html
parentWIP: improve login form (diff)
downloadsession_app-1c5123a2b47006e59739959ab67b51129d39a761.tar.gz
session_app-1c5123a2b47006e59739959ab67b51129d39a761.tar.bz2
session_app-1c5123a2b47006e59739959ab67b51129d39a761.zip
add ldap support
Diffstat (limited to 'templates/login_form.html')
-rw-r--r--templates/login_form.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/login_form.html b/templates/login_form.html
index 1b42e60..254d45c 100644
--- a/templates/login_form.html
+++ b/templates/login_form.html
@@ -5,15 +5,14 @@
<body>
<center>
<h1>Login Form</h1>
-<form action="/submit" method="post">
+<a href="{{ kerberos_url }}">Use kerberos</a>
+<form action="{{ login_url }}" method="post">
{% if options %}Login type <select name="logintype">
{% for option in options %}<option value="{{ option }}">{{ options[option] }}</option>{% endfor %}
-{#<option value="ldap">ldap</option>
-<option value="kerberos">kerberos</option>#}
</select>{% endif %}
<p>Username <input type="text" value="" name="username" required/></p>
<p>Password <input type="password" name="password" required/></p>
-<p><input accesskey="s" type="submit" formaction="{{ login_url }}" value="Submit"/></p>
+<p><input accesskey="s" type="submit" value="Submit"/></p>
</form>
</center>
</body>
bgstack15