feat(auth): Sitzungen laufen standardmaessig 7 Tage

JWT_EXPIRES_IN faellt ohne Eintrag in .env jetzt auf 7d statt 12h zurueck.
Doku und .env.example angepasst.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sascha Wolf
2026-09-23 22:05:24 +02:00
co-authored by Claude Opus 5.5
parent 59b962d66b
commit e2ad8ab03e
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ sequenceDiagram
E->>M: SELECT crm_users WHERE username
M-->>E: Zeile mit bcrypt-Hash
E->>E: bcrypt.compare
E-->>B: { token (JWT, 12 h), user }
E-->>B: { token (JWT, 7 Tage), user }
Note over B: Token im localStorage
B->>A: GET /api/scanner/matches<br/>Authorization: Bearer ...