mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
chore: fmt
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
use actix_identity::{Identity, IdentityMiddleware};
|
||||
use actix_session::{config::PersistentSession, storage::CookieSessionStore, SessionMiddleware};
|
||||
use actix_session::{SessionMiddleware, config::PersistentSession, storage::CookieSessionStore};
|
||||
use actix_web::{
|
||||
cookie::{time::Duration, Key},
|
||||
App, HttpMessage as _, HttpRequest, HttpServer, Responder,
|
||||
cookie::{Key, time::Duration},
|
||||
error,
|
||||
http::StatusCode,
|
||||
middleware, web, App, HttpMessage as _, HttpRequest, HttpServer, Responder,
|
||||
middleware, web,
|
||||
};
|
||||
|
||||
const ONE_MINUTE: Duration = Duration::minutes(1);
|
||||
|
Reference in New Issue
Block a user