Skip to content

Commit

Permalink
example: replace yanked version of session_auth_axum crate (#2310)
Browse files Browse the repository at this point in the history
  • Loading branch information
drebbe-intrepid authored Feb 16, 2024
1 parent b54aa7f commit b0f5c39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/session_auth_axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ sqlx = { version = "0.7.2", features = [
], optional = true }
thiserror = "1.0"
wasm-bindgen = "0.2"
axum_session_auth = { version = "0.10", features = [
axum_session_auth = { version = "0.12.1", features = [
"sqlite-rustls",
], optional = true }
axum_session = { version = "0.10", features = [
axum_session = { version = "0.12.4", features = [
"sqlite-rustls",
], optional = true }
bcrypt = { version = "0.15", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/session_auth_axum/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn main() {
SessionConfig::default().with_table_name("axum_sessions");
let auth_config = AuthConfig::<i64>::default();
let session_store = SessionStore::<SessionSqlitePool>::new(
Some(pool.clone().into()),
Some(SessionSqlitePool::from(pool.clone())),
session_config,
)
.await
Expand Down

0 comments on commit b0f5c39

Please sign in to comment.