dependency update
This commit is contained in:
parent
2cc33cc3e8
commit
40bd5e5d76
2 changed files with 3 additions and 8 deletions
|
@ -18,8 +18,8 @@ thiserror = "1.0"
|
|||
rand = "0.8"
|
||||
dotenvy = "0.15"
|
||||
markdown = "0.3"
|
||||
axum-oidc = "0.2.1"
|
||||
tower-sessions = "0.7.0"
|
||||
axum-oidc = "0.2.2"
|
||||
tower-sessions = "0.9.0"
|
||||
tower = "0.4.13"
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
|
|
|
@ -125,12 +125,7 @@ async fn main() {
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
let session_store = MemoryStore::default();
|
||||
let session_service = ServiceBuilder::new()
|
||||
.layer(HandleErrorLayer::new(|e: BoxError| async {
|
||||
dbg!("{:?}", e);
|
||||
StatusCode::BAD_REQUEST
|
||||
}))
|
||||
.layer(SessionManagerLayer::new(session_store).with_same_site(SameSite::Lax));
|
||||
let session_service = SessionManagerLayer::new(session_store).with_same_site(SameSite::Lax);
|
||||
|
||||
let oidc_login_service = ServiceBuilder::new()
|
||||
.layer(HandleErrorLayer::new(|e: MiddlewareError| async {
|
||||
|
|
Loading…
Reference in a new issue