Upgrade to 3.4.1

This commit is contained in:
Bastian Allgeier
2020-08-04 15:58:50 +02:00
parent f2f3bb96c0
commit 68078dd107
33 changed files with 328 additions and 318 deletions
+1 -1
View File
@@ -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);