Refactored Main.py #4

Merged
Lars merged 5 commits from develop into main 2026-03-19 11:44:32 +01:00
Showing only changes of commit 9e6a542289 - Show all commits

View File

@ -1102,7 +1102,7 @@ def auth_status():
"""Health check endpoint."""
return {"status": "ok", "service": "mitai-jinkendo", "version": "v9b"}
@app.post("/api/auth/pin")
@app.put("/api/auth/pin")
def change_pin(req: dict, session: dict=Depends(require_auth)):
"""Change PIN/password for current user."""
pid = session['profile_id']