Skip to content

Mistake in FriendlyCaptchaValidator::class #9

@imilhormel

Description

@imilhormel

Hello there,

there seems to be a mistake in the first part of the condition:

if ($status == false || $status['error'] !== '') {

According to

$result = ['verified' => false, 'error' => ''];
$status is never false here while $status['verified'] may be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions