fix(api): drop redundant dev-deps; fix server AppState for cookie_secure; add logout + illegal-transition tests

This commit is contained in:
2026-06-02 15:04:07 +02:00
parent 5135aeee6c
commit 642f709bbe
5 changed files with 101 additions and 2 deletions
+2
View File
@@ -20,6 +20,8 @@ pub async fn run(config: Config) -> anyhow::Result<()> {
let state = AppState {
db,
app_name: config.app_name.clone(),
// Wired to config in the auth CLI task; Secure by default.
cookie_secure: true,
};
let listener = TcpListener::bind(&config.bind_addr)