Fix typo in 'user_agent' key assignment.
A typo in the key assignment for 'user_agent' in the CaptchaService has been fixed. The key was previously incorrectly typed as 'user_ageng'. This issue was causing problems with HTTP posts where user agent data was not being properly passed due to the misspelt key.
This commit is contained in:
parent
c39f6ba4d7
commit
d9e9564ea8
@ -17,7 +17,7 @@ final readonly class CaptchaService
|
||||
try {
|
||||
$post = [];
|
||||
if (!is_null($userAgent)) {
|
||||
$post['user_ageng'] = $userAgent;
|
||||
$post['user_agent'] = $userAgent;
|
||||
}
|
||||
|
||||
$response = Http::withHeaders([
|
||||
|
Loading…
Reference in New Issue
Block a user