KEYCLOAK-477
Remove keycloak.js debug statements
This commit is contained in:
parent
64a36aee03
commit
11fc6d5321
1 changed files with 0 additions and 4 deletions
|
@ -532,7 +532,6 @@ var Keycloak = function (config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var src = getRealmUrl() + '/login-status-iframe.html?client_id=' + encodeURIComponent(kc.clientId);
|
var src = getRealmUrl() + '/login-status-iframe.html?client_id=' + encodeURIComponent(kc.clientId);
|
||||||
console.log('iframe src='+ src);
|
|
||||||
iframe.setAttribute('src', src );
|
iframe.setAttribute('src', src );
|
||||||
iframe.style.display = 'none';
|
iframe.style.display = 'none';
|
||||||
document.body.appendChild(iframe);
|
document.body.appendChild(iframe);
|
||||||
|
@ -571,7 +570,6 @@ var Keycloak = function (config) {
|
||||||
msg.callbackId = createCallbackId();
|
msg.callbackId = createCallbackId();
|
||||||
loginIframe.callbackMap[msg.callbackId] = promise;
|
loginIframe.callbackMap[msg.callbackId] = promise;
|
||||||
var origin = loginIframe.iframeOrigin;
|
var origin = loginIframe.iframeOrigin;
|
||||||
console.log('*** origin: ' + origin);
|
|
||||||
loginIframe.iframe.contentWindow.postMessage(msg, origin);
|
loginIframe.iframe.contentWindow.postMessage(msg, origin);
|
||||||
} else {
|
} else {
|
||||||
promise.setSuccess();
|
promise.setSuccess();
|
||||||
|
@ -612,8 +610,6 @@ var Keycloak = function (config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == 'cordova') {
|
if (type == 'cordova') {
|
||||||
console.debug('Enabling Cordova support');
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
login: function(options) {
|
login: function(options) {
|
||||||
var promise = createPromise();
|
var promise = createPromise();
|
||||||
|
|
Loading…
Reference in a new issue