Log to debug when checking for user cookie changes
This way we can filter out any noise this might create (it logs about every 5 seconds which can fill up the console quite badly) by using the browsers filtering capabilities.
@@ -2705,7 +2705,7 @@ static int oidc_handle_session_management_iframe_rp(request_rec *r, oidc_cfg *c,
" var timerID;\n"
"\n"
" function checkSession() {\n"
- " console.log('checkSession: posting ' + message + ' to ' + targetOrigin);\n"
+ " console.debug('checkSession: posting ' + message + ' to ' + targetOrigin);\n"
" var win = window.parent.document.getElementById('%s').contentWindow;\n"
" win.postMessage( message, targetOrigin);\n"
" }\n"
@@ -2716,9 +2716,9 @@ static int oidc_handle_session_management_iframe_rp(request_rec *r, oidc_cfg *c,
" }\n"
"\n"
" function receiveMessage(e) {\n"
- " console.log('receiveMessage: ' + e.data + ' from ' + e.origin);\n"
+ " console.debug('receiveMessage: ' + e.data + ' from ' + e.origin);\n"
" if (e.origin !== targetOrigin ) {\n"
- " console.log('receiveMessage: cross-site scripting attack?');\n"
+ " console.debug('receiveMessage: cross-site scripting attack?');\n"
" return;\n"
" }\n"
" if (e.data != 'unchanged') {\n"
