We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
username
1 parent 081fcc8 commit 06cad43Copy full SHA for 06cad43
src/Auth/UserTags.php
@@ -53,13 +53,6 @@ public function index()
53
}
54
55
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
-
63
// Get a user by email, if the `email` parameter was used.
64
if ($email = $this->get('email')) {
65
if (! $user = User::whereEmail($email)) {
0 commit comments