Fix redirect-loop in keycloak.js
This commit is contained in:
parent
866715b752
commit
1a5c2365a1
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@
|
||||||
var origin = loginIframe.iframeOrigin;
|
var origin = loginIframe.iframeOrigin;
|
||||||
loginIframe.iframe.contentWindow.postMessage(msg, origin);
|
loginIframe.iframe.contentWindow.postMessage(msg, origin);
|
||||||
} else {
|
} else {
|
||||||
promise.setError();
|
promise.setSuccess();
|
||||||
}
|
}
|
||||||
|
|
||||||
return promise.promise;
|
return promise.promise;
|
||||||
|
|
Loading…
Reference in a new issue