feat(webpanel): make edit user username readonly

This commit is contained in:
ReturnFI
2025-10-28 15:31:12 +00:00
parent 5666c782cd
commit 5c3062320b
2 changed files with 7 additions and 5 deletions

View File

@ -441,8 +441,12 @@
<form id="editUserForm">
<div class="form-group">
<label for="editUsername">Username</label>
<input type="text" class="form-control" id="editUsername" name="new_username">
<small class="form-text text-danger" id="editUsernameError"></small>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i></span>
</div>
<input type="text" class="form-control" id="editUsername" readonly>
</div>
</div>
<div class="form-group">
<label for="editTrafficLimit">Traffic Limit (GB)</label>