Skip to content

Commit

Permalink
XPanel Laravel v3.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
aliione committed Sep 4, 2023
1 parent 6d76729 commit e36ea95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Web Panel/app/app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function bulkuser(Request $request)
'start_date' => '',
'end_date' => '',
'date_one_connect' => $request->connection_start,
'customer_user' => $user_s->id,
'customer_user' => $user_s->username,
'status' => 'active',
'traffic' => $traffic,
'referral' => '',
Expand Down
2 changes: 1 addition & 1 deletion Web Panel/app/resources/views/users/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class="re_user avtar avtar-xs btn-link-success btn-pc-default">
@csrf
<input type="text" name="username" class="form-control"
placeholder="Username" autocomplete="off"
onkeyup="if (/[^|a-z0-9]+/g.test(this.value)) this.value = this.value.replace(/[^-a-z0-9]+/g,'')"
onkeyup="if (/[^|a-z0-9]+/g.test(this.value)) this.value = this.value.replace(/[^-a-z0-9_]+/g,'')"
required>
<small class="form-text text-muted">Enter Username</small>
</div>
Expand Down

0 comments on commit e36ea95

Please sign in to comment.