mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
rm domains and added authorization check at all endpoints
This commit is contained in:
@@ -34,13 +34,6 @@ pub fn services(cfg: &mut ServiceConfig) {
|
||||
cfg.service(auth::username_exists);
|
||||
cfg.service(auth::email_exists);
|
||||
|
||||
// mcaptcha
|
||||
// domain
|
||||
cfg.service(mcaptcha::domains::add_domain);
|
||||
cfg.service(mcaptcha::domains::delete_domain);
|
||||
cfg.service(mcaptcha::domains::verify);
|
||||
cfg.service(mcaptcha::domains::get_challenge);
|
||||
|
||||
// mcaptcha
|
||||
cfg.service(mcaptcha::mcaptcha::add_mcaptcha);
|
||||
cfg.service(mcaptcha::mcaptcha::delete_mcaptcha);
|
||||
|
||||
Reference in New Issue
Block a user