Fix login form

This commit is contained in:
Thomas Sileo 2019-04-08 17:54:51 +02:00
parent 035c08735e
commit 049607e701

View file

@ -21,10 +21,9 @@ display:inline;
<input type="password" name="pass" placeholder="password"> <input type="password" name="pass" placeholder="password">
{% if u2f_enabled %} {% if u2f_enabled %}
<input type="hidden" name="resp" id="sig-payload" value=""> <input type="hidden" name="resp" id="sig-payload" value="">
<input type="submit" value="waiting for u2f or login with password" disabled>
{% else %} {% else %}
<input type="submit" value="login">
{% endif %} {% endif %}
<input type="submit" value="login">
</form> </form>
</div> </div>