mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 07:59:42 +00:00
- Add debugMode parameter to initLogoutPatch with structured console logging - Pass MODE_DEBUG into logout_one_liner init call - Exclude <form> elements and large text blocks from logout candidates to avoid mapping LAM user list form as logout Ref: https://chatgpt.com/share/692b325e-37c0-800f-bb5a-129aae4c65f8
9 lines
226 B
Django/Jinja
9 lines
226 B
Django/Jinja
document.addEventListener('DOMContentLoaded', function() {
|
|
initLogoutPatch(
|
|
'{{ OIDC.CLIENT.LOGOUT_URL }}',
|
|
'{{ WEB_PROTOCOL }}',
|
|
'{{ PRIMARY_DOMAIN }}',
|
|
{{ MODE_DEBUG | lower }}
|
|
);
|
|
});
|