feat: rm middleware mod and migrate codebase to use actix_auth_middleware

This commit is contained in:
realaravinth
2022-05-07 12:30:00 +05:30
parent a668fafa62
commit 6d6b494c6f
3 changed files with 0 additions and 101 deletions

View File

@@ -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();