Add support for more CAPTCHA providers #1

Open
MDMCK10 wants to merge 1 commit from MDMCK10/CollabVMAuthServer:master into master
Member

As the title says, this will allow for people to use other CAPTCHA providers, not just hCaptcha

config with testing keys:

[hCaptcha]
# If true, hCaptcha will be used for the registration, login, and password reset forms.
Enabled = true
# The hCaptcha site key and secret key.
Secret = "0x0000000000000000000000000000000000000000"
SiteKey = "10000000-ffff-ffff-ffff-000000000001"

[Turnstile]
# If true, Turnstile will be used for the registration, login, and password reset forms.
Enabled = true
# The Turnstile site key and secret key.
Secret = "1x0000000000000000000000000000000AA"
SiteKey = "3x00000000000000000000FF"

[ReCAPTCHA]
# If true, reCAPTCHA will be used for the registration, login, and password reset forms.
Enabled = true
# The reCAPTCHA site key and secret key.
Secret = "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
SiteKey = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
As the title says, this will allow for people to use other CAPTCHA providers, not just hCaptcha config with testing keys: ```toml [hCaptcha] # If true, hCaptcha will be used for the registration, login, and password reset forms. Enabled = true # The hCaptcha site key and secret key. Secret = "0x0000000000000000000000000000000000000000" SiteKey = "10000000-ffff-ffff-ffff-000000000001" [Turnstile] # If true, Turnstile will be used for the registration, login, and password reset forms. Enabled = true # The Turnstile site key and secret key. Secret = "1x0000000000000000000000000000000AA" SiteKey = "3x00000000000000000000FF" [ReCAPTCHA] # If true, reCAPTCHA will be used for the registration, login, and password reset forms. Enabled = true # The reCAPTCHA site key and secret key. Secret = "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe" SiteKey = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" ```
MDMCK10 added 1 commit 2024-09-30 16:48:28 -04:00
MDMCK10 requested review from Elijah 2024-09-30 16:48:45 -04:00
MDMCK10 requested review from dakrk 2024-09-30 16:48:45 -04:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u master:MDMCK10-master
git checkout MDMCK10-master

Merge

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff MDMCK10-master
git checkout master
git merge --ff-only MDMCK10-master
git checkout MDMCK10-master
git rebase master
git checkout master
git merge --no-ff MDMCK10-master
git checkout master
git merge --squash MDMCK10-master
git checkout master
git merge --ff-only MDMCK10-master
git checkout master
git merge MDMCK10-master
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: collabvm/CollabVMAuthServer#1
No description provided.