Skip to content

Commit

Permalink
chore: rename auth middleware files
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Sep 22, 2024
1 parent 0545582 commit a6c5f64
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/auth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use once_cell::sync::Lazy;
use std::time::Duration;
use uuid::Uuid;

pub mod alerthostowned;
pub mod alertowned;
pub mod checksessions;
pub mod sptkvalidator;
pub mod alert_host_owned;
pub mod alert_owned;
pub mod check_sessions;
pub mod sptk_validator;

static CHECKSESSIONS_CACHE: Lazy<Cache<String, Uuid>> = Lazy::new(|| {
Cache::builder()
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/routes.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use actix_web::{guard, web};
use {
crate::auth::{
alerthostowned::AlertHostOwned, alertowned::AlertOwned, checksessions::CheckSessions,
sptkvalidator::SptkValidator,
alert_host_owned::AlertHostOwned, alert_owned::AlertOwned, check_sessions::CheckSessions,
sptk_validator::SptkValidator,
},
sproot::get_session_middleware,
};
Expand Down

0 comments on commit a6c5f64

Please sign in to comment.