Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverting one last time because of errors in my test env #708

Merged

Conversation

RealAngeleno
Copy link

Reverts #707

$success = $query->verify($response, $_SERVER['REMOTE_ADDR']);
if (!$success) {
error($config['error']['captcha']);
}

in post.php show {"readyState":4,"responseText":"{"error":"Caught fatal error: Uncaught Error: Call to a member function verify() on null in \/var\/www\/vichan\/post.php:624\nStack trace:\n#0 {main}\n thrown in \/var\/www\/vichan\/post.php<\/strong> on line 624"}","responseJSON":{"error":"Caught fatal error: Uncaught Error: Call to a member function verify() on null in /var/www/vichan/post.php:624\nStack trace:\n#0 {main}\n thrown in /var/www/vichan/post.php on line 624"},"status":500,"statusText":"Internal Server Error"}

And removing such causes vichan to believe a captcha is enabled, while it may not be. I'll reopen the original PR and forget this reverting happened.

@RealAngeleno RealAngeleno merged commit 74c2aec into master Mar 31, 2024
@RealAngeleno RealAngeleno deleted the revert-707-revert-704-revert-688-add-dep-injection branch April 3, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant