mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Set maxlength on password confirmation form element
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
6b27c0311d
commit
b36bfad0ca
|
@ -144,6 +144,7 @@
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="password"
|
id="password"
|
||||||
value=""
|
value=""
|
||||||
|
maxlength="500"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
readonly
|
readonly
|
||||||
onfocus="this.removeAttribute('readonly');"
|
onfocus="this.removeAttribute('readonly');"
|
||||||
|
@ -167,13 +168,14 @@
|
||||||
<label class="col-md-3 control-label" for="password_confirmation">
|
<label class="col-md-3 control-label" for="password_confirmation">
|
||||||
{{ trans('admin/users/table.password_confirm') }}
|
{{ trans('admin/users/table.password_confirm') }}
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6{{ ((Helper::checkIfRequired($user, 'first_name')) && (!$user->id)) ? ' required' : '' }}">
|
<div class="col-md-6{{ ((Helper::checkIfRequired($user, 'password_confirmation')) && (!$user->id)) ? ' required' : '' }}">
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
name="password_confirmation"
|
name="password_confirmation"
|
||||||
id="password_confirm"
|
id="password_confirm"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
value=""
|
value=""
|
||||||
|
maxlength="500"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
aria-label="password_confirmation"
|
aria-label="password_confirmation"
|
||||||
readonly
|
readonly
|
||||||
|
|
Loading…
Reference in a new issue