Skip to content

Commit 942aaf4

Browse files
committed
Fix: Str::lower() expects string, changed $this->string('email') to $this->string('email')->value(). Illuminate\Support\Stringable -> string
1 parent f1c4c46 commit 942aaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Requests/Auth/LoginRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ public function ensureIsNotRateLimited(): void
8080
*/
8181
public function throttleKey(): string
8282
{
83-
return Str::transliterate(Str::lower($this->string('email')).'|'.$this->ip());
83+
return Str::transliterate(Str::lower($this->string('email')->value()).'|'.$this->ip());
8484
}
8585
}

0 commit comments

Comments
 (0)