Plugin that adds Yandex SmartCaptcha to the registration form of CTFd.
- Create and configure captcha in Yandex Cloud console (you can use this guide to do so).
- Add captcha keys to
YSC_CLIENT_KEY
andYSC_SERVER_KEY
environment variables ofctfd
container. - Copy this repository to CTFd plugins directory, which is located at
CTFd/plugins
.
That's all!
Warning
If you don't specify environment variables for ctfd
container, captcha will not be present, and message
Captcha is disabled because variable {ENV_VAR_KEY} is not present in environment
will be displayed in logs.
If you have any suggestions for improvements or fixes to this plugin, please feel free to create a pull request. You can also create an issue to discuss your suggestions or propose new features.