# 启用 hCaptcha 且未配置密钥时注册无法进行

**URL:** https://meta.discourse.org/t/signup-doesnt-work-when-hcaptcha-enabled-and-keys-not-configured/344779
**Category:** Support
**Tags:** captcha
**Created:** [2024年十二月29日 17:14 UTC](https://meta.discourse.org/t/signup-doesnt-work-when-hcaptcha-enabled-and-keys-not-configured/344779 "2024-12-29T17:14:18Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2024年十二月29日 18:51 UTC](https://meta.discourse.org/t/signup-doesnt-work-when-hcaptcha-enabled-and-keys-not-configured/344779/4 "2024-12-29T18:51:32Z")

</div>

太棒了！很高兴看到这不是一个普遍存在的问题。 😅

我仔细查看了一下，可以确认在我的网站上，`discourse hcaptcha enabled` 这个站点设置默认没有被选中，这是正确的。该插件在我们的托管环境中默认未启用（至少在我刚刚测试的入门计划中是这样）。但是，当你启用该插件时，`discourse hcaptcha enabled` 设置就已经被启用了。

所以，这似乎是一个网站所有者会在管理界面中无意中“自断后路”而没有任何警告的情况。如果你启用了该插件，然后又启用了 `discourse hcaptcha enabled`，但没有提供密钥（或提供了错误的密钥），界面上不会显示任何警告。也没有关于如何获取 hCaptcha 账户的指导。

相反，注册表单会显示一个错误，导致无法注册。

 ![Screenshot 2024-12-29 at 10.41.38](https://global.discourse-cdn.com/meta/original/4X/f/3/a/f3a8a6d7730b1c1f53076d2d5d770f7e062bd57a.png)  
 ![Screenshot 2024-12-29 at 10.44.53](https://global.discourse-cdn.com/meta/original/4X/9/f/a/9fa72d68bd710e615b99b724a16e5dfe0bdbc06d.png)

---

_[View the full topic](https://meta.discourse.org/t/signup-doesnt-work-when-hcaptcha-enabled-and-keys-not-configured/344779)._
