1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

add session ttl customization example

This commit is contained in:
Rob Ede
2022-08-28 18:39:28 +01:00
parent d259177eab
commit fcd013fcde
18 changed files with 84 additions and 60 deletions

View File

@ -1,5 +1,4 @@
use actix_identity::Identity;
use actix_identity::{CookieIdentityPolicy, IdentityService};
use actix_identity::{CookieIdentityPolicy, Identity, IdentityService};
use actix_web::{middleware, web, App, HttpResponse, HttpServer};
use rand::Rng;