feat: improve authentication flow
authentication now works either with sessionid or basic auth, with basic auth not creating a session
This commit is contained in:
parent
2f974fd1ff
commit
648921837b
6 changed files with 69 additions and 39 deletions
|
|
@ -9,6 +9,7 @@ axum = { version = "0.8.1", features = ["macros"] }
|
|||
axum-extra = { version = "0.10", features = ["cookie", "typed-header"] }
|
||||
chrono = { version = "0.4.39", features = ["serde"] }
|
||||
clap = { version = "4.5.30", features = ["derive", "env"] }
|
||||
cookie = "0.18.1"
|
||||
diesel = { version = "2.2.7", features = ["r2d2", "sqlite", "returning_clauses_for_sqlite_3_35"] }
|
||||
diesel_migrations = { version = "2.2.0", features = ["sqlite"] }
|
||||
libsqlite3-sys = { version = "0.31.0", features = ["bundled"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue