What is Nostr?
LeoBurr :veripawed:🦁🐻 /
npub1se8…rlmj
2024-02-18 21:39:00

LeoBurr :veripawed:🦁🐻 on Nostr: Hi folks, I've just enabled hcaptcha for new accounts in addition to requiring admin ...

Hi folks,
I've just enabled hcaptcha for new accounts in addition to requiring admin review for all accounts on Tiggi.es running 4.2.7.

Admins:

NOTE: This is not advocating for using hcaptcha. Please research it as some disabled users may find it difficult or impossible to use. Use your judgment.

It's pretty easy to do. Sign up via https://www.hcaptcha.com/ - It's free for smaller sites. Don't use the initial Site Key they provide. Do generate a Secret Key AND KEEP IT SECURE. If you don't save it here, you'll have to regenerate it later, as the site won't show you the whole key again.

Next, verify your email address once they email you, sign in, and create a new site for the domain via the Sites Menu and "Add Sites" Button - You will be provided a Site Key.

Now to configure Mastodon, as user mastodon, edit live/.env.production and add the following lines to the end:
HCAPTCHA_SITE_KEY=SITE KEY HERE
HCAPTCHA_SECRET_KEY=SECRET KEY HERE

No quotes or anything are needed.

Restart mastodon-web, then go to Administration->Server Settings->Registrations and you'll see a new checkbox as shown below.

This has the chance at helping cut down on bot registrations. The Mastodon docs aren't complete here, and I did some hunting to figure this out. Thought I'd share. :)

Just be aware as the screen shot notes that this may make registration more difficult for some disabled folks.

#FediAdmin #MastoAdmin

Author Public Key
npub1se8prnxv2jjqx8fahrkc460d4jt260qjr84a859p0408m6w4wvrszmrlmj