mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-04 06:11:47 +00:00
refactor: Remove recaptcha-verify
This commit is contained in:
1 parent
935ddf1d0f
commit
39bee607c0
7 files changed
+61
-42
No files matched your search
@@ -398,13 +398,10 @@ async fn begin_registration(
|
||||
));
|
||||
};
|
||||
|
||||
if recaptcha_verify::verify_v3(
|
||||
recaptcha_private_site_key,
|
||||
&recaptcha_response,
|
||||
None,
|
||||
)
|
||||
.await
|
||||
.is_err()
|
||||
if !services
|
||||
.client
|
||||
.recaptcha_verify(recaptcha_private_site_key, &recaptcha_response)
|
||||
.await
|
||||
{
|
||||
errors.add(
|
||||
"recaptcha",
|
||||
|
||||
Reference in new issue
Block a user