Skip to content

Commit 06cad43

Browse files
committed
The username isn't a thing in v3.
1 parent 081fcc8 commit 06cad43

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Auth/UserTags.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ public function index()
5353
}
5454
}
5555

56-
// Get a user by username, if the `username` parameter was used.
57-
if ($username = $this->get('username')) {
58-
if (! $user = User::whereUsername($username)) {
59-
return $this->parseNoResults();
60-
}
61-
}
62-
6356
// Get a user by email, if the `email` parameter was used.
6457
if ($email = $this->get('email')) {
6558
if (! $user = User::whereEmail($email)) {

0 commit comments

Comments
 (0)