admin setup: remove maxlength from HTML form

Fixes #515
This commit is contained in:
Nicola Murino 2021-09-04 12:13:49 +02:00
parent 69c3a85ea5
commit 7a9272ddfc
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -99,15 +99,15 @@
class="user-custom">
<div class="form-group">
<input type="text" class="form-control form-control-user-custom" id="inputUsername"
name="username" placeholder="Username" value="{{.Username}}" maxlength="60" required>
name="username" placeholder="Username" value="{{.Username}}" required>
</div>
<div class="form-group">
<input type="password" class="form-control form-control-user-custom" id="inputPassword"
name="password" placeholder="Password" maxlength="60" required>
name="password" placeholder="Password" required>
</div>
<div class="form-group">
<input type="password" class="form-control form-control-user-custom" id="inputConfirmPassword"
name="confirm_password" placeholder="Repeat password" maxlength="60" required>
name="confirm_password" placeholder="Repeat password" required>
</div>
<input type="hidden" name="_form_token" value="{{.CSRFToken}}">
<button type="submit" class="btn btn-primary btn-user-custom btn-block">