modules: port cloudflare_challenge (VERIFYCHALLENGE JWT gate); recaptcha also covers cloudfire

This commit is contained in:
Jean Chevronnet 2026-08-09 11:56:03 +00:00
parent a2401a4f54
commit caf87ed911
2 changed files with 170 additions and 0 deletions

View file

@ -10,6 +10,7 @@ pub mod blockamsg;
pub mod channelban;
pub mod chathistory;
pub mod cloak;
pub mod cloudflare_challenge;
pub mod connectban;
pub mod connflood;
pub mod denychans;
@ -60,6 +61,7 @@ pub fn default_modules() -> Vec<Box<dyn Module>> {
Box::new(securelist::SecureList),
Box::new(hashident::HashIdent),
Box::new(recaptcha::ReCaptcha),
Box::new(cloudflare_challenge::CloudflareChallenge),
]
}
@ -77,5 +79,6 @@ pub fn module_commands() -> Vec<Box<dyn Command>> {
.chain(password_hash::commands())
.chain(account_registration::commands())
.chain(recaptcha::commands())
.chain(cloudflare_challenge::commands())
.collect()
}