Inaktivitäts-Logout mit Restzeit-Anzeige und Vorwarnung #35
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DasAoD/sfguildsv2!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/session-idle-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Was
Automatischer Logout nach 60 Minuten Inaktivität, mit sichtbarem Countdown in der Navbar und einer Warnung in der letzten Minute.
Verhalten
⏳ MM:SS), wird bei jeder echten Aktion zurückgesetzt.MM:SSabgemeldet." mit Button "Angemeldet bleiben". Der Timer-Chip pulst rot./login.php?expired=1mit Hinweis "Du wurdest wegen Inaktivität abgemeldet."auth.phpzerstört – unabhängig vom Frontend.Änderungen
includes/auth.phpSESSION_IDLE_TIMEOUT(3600s) /SESSION_IDLE_WARNING(60s);last_activity-Prüfung bei jedem Include, Logout bei Überschreitung;login()setztlast_activityapi/session_status.phpSESSION_SKIP_ACTIVITY_TOUCH)api/session_extend.phppublic/assets/js/session-timeout.jsincludes/template.php<span>in der Navbar;window.SF_SESSION-Config + Script-Einbindung nur für eingeloggte User; CSS/JS-Version gebumptpublic/assets/css/main.css.session-timer(+ Warn-Puls) und.session-warning-countpublic/login.php?expired=1Konfiguration
Timeout/Vorwarnzeit sind zwei Konstanten oben in
includes/auth.php.Test
Lokal kein PHP verfügbar – nur manuelles Review. Bitte auf dns1 gegenprüfen:
authenticated/remaining🤖 Generated with Claude Code