Romellie It already is I'm pretty certain? At least it seems that it is on my forum.
FriendsOfFlarum reCAPTCHA
[deleted]
tankerkiller125 And mine.
tankerkiller125 [deleted]
i'm checked the code in github and here only SignUpModal import, not LogInModal
[deleted]
Romellie Why does it need to be in Login Modal ? If the account isn't valid, it can't be used anyway ?
I believe the captcha is only active on the sign up form.
It's not written (we could state it clearly in the README though) but the screenshots only show the Sign Up form so I guess this is the expected behavior.
hope it's will be soon...
Romellie Picked up as in logged in as or as in created accounts? Or do you just mean that they scanned through and located the URLS to 20K accounts?
- Edited
Littlegolden check the log files in <flarum>/storage/logs
, or enable debug
in config.php
and try again.
- Edited
clarkwinkelmann
POST http://lzc.easy.echosite.cn/register
Flarum\Http\Exception\TokenMismatchException: CSRF token did not match in file D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\CheckCsrfToken.php on line 34
Stack trace:
- Flarum\Http\Exception\TokenMismatchException->() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\CheckCsrfToken.php:34
- Flarum\Http\Middleware\CheckCsrfToken->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\AuthenticateWithSession.php:32
- Flarum\Http\Middleware\AuthenticateWithSession->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\RememberFromCookie.php:51
- Flarum\Http\Middleware\RememberFromCookie->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\StartSession.php:61
- Flarum\Http\Middleware\StartSession->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\CollectGarbage.php:46
- Flarum\Http\Middleware\CollectGarbage->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\ParseJsonBody.php:28
- Flarum\Http\Middleware\ParseJsonBody->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Middleware\HandleErrors.php:57
- Flarum\Http\Middleware\HandleErrors->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php:83
- Zend\Stratigility\MiddlewarePipe->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\middlewares\request-handler\src\RequestHandler.php:84
- Middlewares\RequestHandler->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\middlewares\base-path-router\src\BasePathRouter.php:97
- Middlewares\BasePathRouter->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Middleware\OriginalMessages.php:41
- Zend\Stratigility\Middleware\OriginalMessages->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\middlewares\base-path\src\BasePath.php:53
- Middlewares\BasePath->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\Next.php:60
- Zend\Stratigility\Next->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php:83
- Zend\Stratigility\MiddlewarePipe->process() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php:72
- Zend\Stratigility\MiddlewarePipe->handle() D:\rj\phpstudy_pro\WWW\flarum\vendor\zendframework\zend-httphandlerrunner\src\RequestHandlerRunner.php:95
- Zend\HttpHandlerRunner\RequestHandlerRunner->run() D:\rj\phpstudy_pro\WWW\flarum\vendor\flarum\core\src\Http\Server.php:44
- Flarum\Http\Server->listen() D:\rj\phpstudy_pro\WWW\flarum\public\index.php:22
@datitisev I need your help
- Edited
Hey there - great stuff with the plugin - just installed using composer and got warnings about "abandoned packages" ? should i be concerned?
`Using version 0.1.1 for fof/recaptcha
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
- Installing google/recaptcha (1.2.3): Downloading (100%)
- Installing fof/recaptcha (0.1.1): Downloading (100%)
Package s9e/flarum-ext-mediaembed is abandoned, you should avoid using it. Use fof/formatting instead.
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead.
Package zendframework/zend-httphandlerrunner is abandoned, you should avoid using it. Use laminas/laminas-httphandlerrunner instead.
Package zendframework/zend-stratigility is abandoned, you should avoid using it. Use laminas/laminas-stratigility instead.``
MartinJD Do not worry about the zendframework/* packages, but you should probably replace s9e's mediaembed with FriendsOfFlarum Formatting as it was marked incompatible a few months ago.
MartinJD that's correct. Composer warnings are usually based on everything you have currently installed, not only the extension you are currently adding or updating.
In this case the zendframeworks warnings come from Flarum core itself. We will update them in the next version.
If you see an extension name being reported as abandoned however, you might want to take action as this one was probably manually installed by yourself There's rarely a security risk, but if it's abandoned it usually means it no longer works with the latest Flarum version and could break things if enabled.
clarkwinkelmann Excellent, thanks for the clear answer.
When will reCAPTCHA v3 be supported?
[deleted]
ValiantShishu The issue here is that ReCAPTCHA requires loading external libraries, and isn't exactly privacy orientated by default. I think a hidden input or checkbox on a form with validation - for example, if it's been filled in by a BOT, we discard the request - is a much better way to go, and it is also native in the sense that we leverage the existing libraries rather than include even more.