mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-09 10:56:01 +00:00
Improve logout patch debug and tighten detection
- 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
This commit is contained in:
@@ -2,6 +2,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
initLogoutPatch(
|
||||
'{{ OIDC.CLIENT.LOGOUT_URL }}',
|
||||
'{{ WEB_PROTOCOL }}',
|
||||
'{{ PRIMARY_DOMAIN }}'
|
||||
'{{ PRIMARY_DOMAIN }}',
|
||||
{{ MODE_DEBUG | lower }}
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user