Fix redirect-loop in keycloak.js

This commit is contained in:
Stian Thorgersen 2014-07-16 17:38:56 +01:00
parent 866715b752
commit 1a5c2365a1

View file

@ -608,7 +608,7 @@
var origin = loginIframe.iframeOrigin;
loginIframe.iframe.contentWindow.postMessage(msg, origin);
} else {
promise.setError();
promise.setSuccess();
}
return promise.promise;