Skip to content

Commit 9427ece

Browse files
authored
Update captcha guide (#148)
1 parent 4325f09 commit 9427ece

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

docs/panel/optional-config.mdx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,17 @@ If you're using Cloudflare's Flexible SSL you should set `TRUSTED_PROXIES` to co
7878

7979
You can easily do this on the Settings page in the Panel.
8080

81-
## reCAPTCHA
81+
## Captcha
8282

83-
The Panel uses invisible reCAPTCHA to secure the login page from brute-force attacks. If the login attempt is considered suspicious, users may be required to perform a reCAPTCHA challenge.
83+
The Panel has options to enable captcha to secure the login page from brute-force attacks. By default only Cloudflare Turnstile is available.
8484

85-
### Configuring reCAPTCHA
85+
### Disable Captcha
8686

87-
While we provide a global Site Key and Secret Key by default, we highly recommend changing it for your own setup.
87+
If you cannot access your panel, you have to modify the `.env` directly to disable it.
8888

89-
You can generate your own keys in the [reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin).
89+
Edit the `.env` in the panel's root directory `/var/www/pelican/` and change the value of `CAPTCHA_TURNSTILE_ENABLED` to `false`.
9090

91-
The keys can then be applied using the Settings in the Panel.
92-
93-
#### Disabling Recaptcha
94-
95-
If you cannot access your panel, you can modify the `.env` directly to disable it.
96-
97-
Edit the `.env` in the panel's root directory `/var/www/pelican/` and change the value of `RECAPTCHA_ENABLED` to `false`.
91+
After that run `php artisan config:clear` to refresh the config cache.
9892

9993
## 2FA
10094

0 commit comments

Comments
 (0)