thezenmonkey / textcaptcha
使用 TextCaptcha 进行垃圾邮件保护的 SpamProtector 模块
dev-master
2016-03-23 01:30 UTC
Requires
This package is auto-updated.
Last update: 2024-08-26 09:38:16 UTC
README
使用 TextCaptcha 进行垃圾邮件保护的 SpamProtector 模块
要求
- SilverStripe 3.1+
- SpamProtection 模块 https://github.com/silverstripe/silverstripe-spamprotection
安装
解压缩到您的项目,并在您的 _config.php 中添加以下内容
--- name: spamprotection --- FormSpamProtectionExtension: default_spam_protector: TextCaptchaProtector NoCaptchaField: ApiKey : '<Your Api Key>'
如果您省略了 CaptchaAPI 的声明,它将默认为 'demo',为您提供更小的测试问题子集
待办事项
- 它还需要美化,以在使用 UserForm 模块时更好地渲染
- 单元测试(如果我有时间学习的话)
- Composer 集成