mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
feat: rm middleware mod and migrate codebase to use actix_auth_middleware
This commit is contained in:
@@ -32,7 +32,6 @@ mod demo;
|
||||
mod docs;
|
||||
mod email;
|
||||
mod errors;
|
||||
mod middleware;
|
||||
#[macro_use]
|
||||
mod pages;
|
||||
#[macro_use]
|
||||
@@ -55,7 +54,6 @@ use static_assets::FileMap;
|
||||
pub use widget::WIDGET_ROUTES;
|
||||
|
||||
use crate::demo::DemoUser;
|
||||
pub use crate::middleware::auth::CheckLogin;
|
||||
|
||||
lazy_static! {
|
||||
pub static ref SETTINGS: Settings = Settings::new().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user