Skip to content

Commit dfefd88

Browse files
Fixed textboxes (pterodactyl#1886)
Text boxes on the user view page were set to readonly not allowing admins to change user values Co-Authored-By: Lance Pioch <me@lance.sh>
1 parent 37c7ba3 commit dfefd88

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

resources/views/admin/users/view.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@
3030
<div class="form-group">
3131
<label for="email" class="control-label">Email</label>
3232
<div>
33-
<input readonly type="email" name="email" value="{{ $user->email }}" class="form-control form-autocomplete-stop">
33+
<input type="email" name="email" value="{{ $user->email }}" class="form-control form-autocomplete-stop">
3434
</div>
3535
</div>
3636
<div class="form-group">
3737
<label for="registered" class="control-label">Username</label>
3838
<div>
39-
<input readonly type="text" name="username" value="{{ $user->username }}" class="form-control form-autocomplete-stop">
39+
<input type="text" name="username" value="{{ $user->username }}" class="form-control form-autocomplete-stop">
4040
</div>
4141
</div>
4242
<div class="form-group">
4343
<label for="registered" class="control-label">Client First Name</label>
4444
<div>
45-
<input readonly type="text" name="name_first" value="{{ $user->name_first }}" class="form-control form-autocomplete-stop">
45+
<input type="text" name="name_first" value="{{ $user->name_first }}" class="form-control form-autocomplete-stop">
4646
</div>
4747
</div>
4848
<div class="form-group">
4949
<label for="registered" class="control-label">Client Last Name</label>
5050
<div>
51-
<input readonly type="text" name="name_last" value="{{ $user->name_last }}" class="form-control form-autocomplete-stop">
51+
<input type="text" name="name_last" value="{{ $user->name_last }}" class="form-control form-autocomplete-stop">
5252
</div>
5353
</div>
5454
<div class="form-group">
@@ -80,7 +80,7 @@
8080
<div class="form-group no-margin-bottom">
8181
<label for="password" class="control-label">Password <span class="field-optional"></span></label>
8282
<div>
83-
<input readonly type="password" id="password" name="password" class="form-control form-autocomplete-stop">
83+
<input type="password" id="password" name="password" class="form-control form-autocomplete-stop">
8484
<p class="text-muted small">Leave blank to keep this user's password the same. User will not receive any notification if password is changed.</p>
8585
</div>
8686
</div>

0 commit comments

Comments
 (0)