Upgrade to 3.4.1
This commit is contained in:
@@ -87,7 +87,7 @@ class Users extends Collection
|
||||
public function findByKey(string $key)
|
||||
{
|
||||
if (Str::contains($key, '@') === true) {
|
||||
return parent::findBy('email', strtolower($key));
|
||||
return parent::findBy('email', Str::lower($key));
|
||||
}
|
||||
|
||||
return parent::findByKey($key);
|
||||
|
Reference in New Issue
Block a user