rename guard -> mcaptcha

This commit is contained in:
realaravinth
2021-06-01 17:33:47 +05:30
parent ba39483635
commit 9e70f8f756
19 changed files with 154 additions and 151 deletions

View File

@@ -70,7 +70,7 @@ async fn update_duration(
} else {
// when mCaptcha/mCaptcha #2 is fixed, this wont be necessary
Err(ServiceError::CaptchaError(
m_captcha::errors::CaptchaError::CaptchaDurationZero,
libmcaptcha::errors::CaptchaError::CaptchaDurationZero,
))
}
}

View File

@@ -18,7 +18,7 @@
use actix_identity::Identity;
use actix_web::{web, HttpResponse, Responder};
use log::debug;
use m_captcha::{defense::Level, DefenseBuilder};
use libmcaptcha::{defense::Level, DefenseBuilder};
use serde::{Deserialize, Serialize};
use super::mcaptcha::add_mcaptcha_util;