Add some missing maxlength form options to prevent info overflow and result in error 500

This commit is contained in:
johnnyq
2026-08-02 16:08:01 -04:00
parent 3e532fc792
commit 89fba247c5
46 changed files with 104 additions and 104 deletions

View File

@@ -29,7 +29,7 @@ require_once "includes/inc_all_admin.php";
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-key"></i></span>
</div>
<input type="text" class="form-control" name="config_login_key_secret" pattern="\w{3,99}" placeholder="Something really easy for techs to remember: e.g. MYSECRET" value="<?= escapeHtml($config_login_key_secret) ?>">
<input type="text" class="form-control" name="config_login_key_secret" pattern="\w{3,99}" placeholder="Something really easy for techs to remember: e.g. MYSECRET" maxlength="99" value="<?= escapeHtml($config_login_key_secret) ?>">
</div>
</div>