Add authentication method selection box in login page

This commit is contained in:
Khanh Ngo 2015-12-17 11:41:36 +07:00
parent 5d06195795
commit 1e8bc55f36

View File

@ -72,6 +72,12 @@
<label class="control-label visible-ie8 visible-ie9">Password</label> <label class="control-label visible-ie8 visible-ie9">Password</label>
<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" value="{{ request.form.password }}"/> <input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" value="{{ request.form.password }}"/>
</div> </div>
<div class="form-group">
<select class="form-control" name="auth_method">
<option value="LOCAL">Default Authentication</option>
<option value="LDAP">LDAP Authentication</option>
</select>
</div>
<div class="form-actions"> <div class="form-actions">
<button type="submit" class="btn btn-success uppercase">Login</button> <button type="submit" class="btn btn-success uppercase">Login</button>
<label class="rememberme check"> <label class="rememberme check">