Skip to content

Commit

Permalink
The username isn't a thing in v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Feb 28, 2020
1 parent 081fcc8 commit 06cad43
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Auth/UserTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ public function index()
}
}

// Get a user by username, if the `username` parameter was used.
if ($username = $this->get('username')) {
if (! $user = User::whereUsername($username)) {
return $this->parseNoResults();
}
}

// Get a user by email, if the `email` parameter was used.
if ($email = $this->get('email')) {
if (! $user = User::whereEmail($email)) {
Expand Down

0 comments on commit 06cad43

Please sign in to comment.