More readme fixes

This commit is contained in:
2026-05-22 15:09:28 +02:00
parent 6950ec1c36
commit 50c79231bb

View File

@@ -328,7 +328,7 @@ sequenceDiagram
alt Password Valid alt Password Valid
Note over BE: Generate JWT token containing claims (sub: user_id) Note over BE: Generate JWT token containing claims (sub: user_id)
Note over BE: Build HttpOnly, Secure, Lax cookie 'token' Note over BE: Build HttpOnly, Secure, Lax cookie 'token'
BE-->>FE: "HTTP 200 OK {"status": "success", "token": "...", "user": {...}}<br/>Header: Set-Cookie: token=...; Path=/; HttpOnly; SameSite=Lax" BE-->>FE: "HTTP 200 OK {\"status\": \"success\", \"token\": \"...\", \"user\": {...}}<br/>Header: Set-Cookie: token=...; Path=/; HttpOnly; SameSite=Lax"
Note over FE: Save auth state to global context Note over FE: Save auth state to global context
FE-->>User: Redirect to Dashboard / Home FE-->>User: Redirect to Dashboard / Home
else Password Invalid else Password Invalid
@@ -346,7 +346,7 @@ sequenceDiagram
actor Admin as Administrator actor Admin as Administrator
participant FE as Frontend (Yew) participant FE as Frontend (Yew)
participant BE as Backend (Axum) participant BE as Backend (Axum)
participant DB@{"type": "database", "alias": "Database"} participant DB as Database@{"type": "database"}
Note over User, DB: Ticket Creation Flow (Protected Route) Note over User, DB: Ticket Creation Flow (Protected Route)
User->>FE: Fill out ticket form & submit User->>FE: Fill out ticket form & submit