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
2026-04-27 20:17:06 +02:00
parent 58391886a3
commit e7fa60a3a2
15 changed files with 978 additions and 48 deletions
+4
View File
@@ -5,7 +5,11 @@ edition = "2024"
[dependencies]
niffler = "3.0.0"
remove_dir_all = "0.8"
obikseq = { path = "../obikseq" }
obiskio = { path = "../obiskio" }
rayon = "1"
sysinfo = "0.33"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1.44"