Refactor: Simplify user authentication flow

- Remove redundant validation logic in login handler
 - Consolidate session token generation into a single utility function  
- Update error handling to use consistent HTTP status codes
This commit is contained in:
Eric Coissac committed 2026-04-28 08:38:26 +02:00
1 parent 58391886a3
commit e7fa60a3a2
15 files changed
+978 -48

No files matched your search

+6
View File
@@ -16,3 +16,9 @@ obipipeline = { path = "../obipipeline" }
clap = { version = "4", features = ["derive"] }
obikrope = { path = "../obikrope" }
obikpartitionner = { path = "../obikpartitionner" }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
pprof = { version = "0.13", features = ["prost-codec"], optional = true }
[features]
profiling = ["dep:pprof"]