Rust Edition 2024
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-03-28 14:40:35 +01:00
parent 19f99cf9b9
commit b77e7895b7
26 changed files with 102 additions and 60 deletions

View File

@ -1,15 +1,15 @@
//! # Authentication middleware
use std::future::{ready, Future, Ready};
use std::future::{Future, Ready, ready};
use std::pin::Pin;
use std::rc::Rc;
use actix_identity::IdentityExt;
use actix_web::body::EitherBody;
use actix_web::http::{header, Method};
use actix_web::http::{Method, header};
use actix_web::{
dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform},
Error, HttpResponse,
dev::{Service, ServiceRequest, ServiceResponse, Transform, forward_ready},
};
use crate::constants::{