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

+2
View File
@@ -7,6 +7,8 @@ edition = "2024"
niffler = "3.0.0"
rustix = { version = "1.1.4", features = ["process"] }
lru = "0.12"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
obikseq = { path = "../obikseq" }