diff --git a/src/middleware/mod.rs b/src/middleware/mod.rs index 6e55cd67..9b13a20a 100644 --- a/src/middleware/mod.rs +++ b/src/middleware/mod.rs @@ -11,8 +11,5 @@ pub use self::defaultheaders::DefaultHeaders; pub use self::errhandlers::{ErrorHandlerResponse, ErrorHandlers}; pub use self::logger::Logger; -// #[cfg(feature = "session")] -// pub use actix_session as session; - -#[cfg(feature = "session")] +#[cfg(feature = "cookies")] pub mod identity;