1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

hCaptcha support

This commit is contained in:
Quentin Gliech
2024-05-11 14:39:12 +02:00
parent f9ae7ae313
commit 0e270d5449
6 changed files with 18 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ pub fn captcha_config_from_config(
mas_config::CaptchaServiceKind::CloudflareTurnstile => {
mas_data_model::CaptchaService::CloudflareTurnstile
}
mas_config::CaptchaServiceKind::HCaptcha => mas_data_model::CaptchaService::HCaptcha,
};
Ok(Some(mas_data_model::CaptchaConfig {