mirror of
https://github.com/9001/copyparty.git
synced 2025-11-24 07:23:22 -07:00
Add maxlength attribute to password input fields on splash.html
This commit is contained in:
parent
77f74ddb2f
commit
90b084395d
|
|
@ -111,7 +111,7 @@
|
||||||
<div>
|
<div>
|
||||||
<form id="lf" method="post" enctype="multipart/form-data" action="{{ r }}/{{ qvpath }}">
|
<form id="lf" method="post" enctype="multipart/form-data" action="{{ r }}/{{ qvpath }}">
|
||||||
<input type="hidden" id="la" name="act" value="login" />
|
<input type="hidden" id="la" name="act" value="login" />
|
||||||
<input type="password" id="lp" name="cppwd" placeholder=" password" />
|
<input type="password" id="lp" name="cppwd" placeholder=" password" maxlength="64" />
|
||||||
<input type="hidden" name="uhash" id="uhash" value="x" />
|
<input type="hidden" name="uhash" id="uhash" value="x" />
|
||||||
<input type="submit" id="ls" value="Unlock" />
|
<input type="submit" id="ls" value="Unlock" />
|
||||||
{%- if ahttps %}
|
{%- if ahttps %}
|
||||||
|
|
@ -137,9 +137,9 @@
|
||||||
<input type="hidden" id="la" name="act" value="login" />
|
<input type="hidden" id="la" name="act" value="login" />
|
||||||
{%- if this.args.usernames %}
|
{%- if this.args.usernames %}
|
||||||
<input type="text" id="lu" name="uname" placeholder=" username" size="12" />
|
<input type="text" id="lu" name="uname" placeholder=" username" size="12" />
|
||||||
<input type="password" id="lp" name="cppwd" placeholder=" password" size="12" />
|
<input type="password" id="lp" name="cppwd" placeholder=" password" size="12" maxlength="64" />
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<input type="password" id="lp" name="cppwd" placeholder=" password" />
|
<input type="password" id="lp" name="cppwd" placeholder=" password" maxlength="64" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
<input type="hidden" name="uhash" id="uhash" value="x" />
|
<input type="hidden" name="uhash" id="uhash" value="x" />
|
||||||
<input type="submit" id="ls" value="login" />
|
<input type="submit" id="ls" value="login" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue