pull tower_sessions use out of axum_login
This commit is contained in:
parent
9a94efd29b
commit
714274659e
2 changed files with 2 additions and 5 deletions
|
@ -1,11 +1,9 @@
|
|||
use async_trait::async_trait;
|
||||
use axum_login::{
|
||||
tower_sessions::{cookie::time::Duration, Expiry, SessionManagerLayer},
|
||||
AuthUser, AuthnBackend, UserId,
|
||||
};
|
||||
use axum_login::{AuthUser, AuthnBackend, UserId};
|
||||
use julid::Julid;
|
||||
use password_auth::verify_password;
|
||||
use sqlx::SqlitePool;
|
||||
use tower_sessions::{cookie::time::Duration, Expiry, SessionManagerLayer};
|
||||
use tower_sessions_sqlx_store::SqliteStore;
|
||||
|
||||
use crate::User;
|
||||
|
|
|
@ -3,7 +3,6 @@ use std::time::Duration;
|
|||
use clap::Parser;
|
||||
use julid::Julid;
|
||||
use parse_duration::parse;
|
||||
use serde::Serialize;
|
||||
use sqlx::SqlitePool;
|
||||
use what2watch::{conf::Config, get_db_pool, Invitation, User};
|
||||
|
||||
|
|
Loading…
Reference in a new issue