add logging
This commit is contained in:
parent
f37d0f4a69
commit
448501be3a
|
@ -279,10 +279,12 @@ alert('refusing to send a token to <%= target_origin.inspect %>, not whitelisted
|
||||||
|
|
||||||
function cookiesCheckCallback(thirdPartyCookiesEnabled) {
|
function cookiesCheckCallback(thirdPartyCookiesEnabled) {
|
||||||
if(thirdPartyCookiesEnabled) {
|
if(thirdPartyCookiesEnabled) {
|
||||||
|
console.log("third party cookies enabled, creating iframe");
|
||||||
var iframe = document.createElement('iframe');
|
var iframe = document.createElement('iframe');
|
||||||
iframe.src = url;
|
iframe.src = url;
|
||||||
window.document.body.appendChild(iframe);
|
window.document.body.appendChild(iframe);
|
||||||
} else {
|
} else {
|
||||||
|
console.log("third party cookies disabled, creating pop-up");
|
||||||
window.open(url, 'Signing in...', 'height=400,width=800');
|
window.open(url, 'Signing in...', 'height=400,width=800');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user