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"> class="user-custom">
<div class="form-group"> <div class="form-group">
<input type="text" class="form-control form-control-user-custom" id="inputUsername" <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>
<div class="form-group"> <div class="form-group">
<input type="password" class="form-control form-control-user-custom" id="inputPassword" <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>
<div class="form-group"> <div class="form-group">
<input type="password" class="form-control form-control-user-custom" id="inputConfirmPassword" <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> </div>
<input type="hidden" name="_form_token" value="{{.CSRFToken}}"> <input type="hidden" name="_form_token" value="{{.CSRFToken}}">
<button type="submit" class="btn btn-primary btn-user-custom btn-block"> <button type="submit" class="btn btn-primary btn-user-custom btn-block">