Merge pull request #456 from stianst/master

KEYCLOAK-500
This commit is contained in:
Stian Thorgersen 2014-06-06 09:53:08 +01:00
commit c086e0a502

View file

@ -245,16 +245,12 @@ var Keycloak = function (config) {
} }
if (loginIframe.enable) { if (loginIframe.enable) {
if (loginIframe.enable) { var iframePromise = checkLoginIframe();
var iframePromise = checkLoginIframe(); iframePromise.success(function() {
iframePromise.success(function() { exec();
exec(); }).error(function() {
}).error(function() { promise.setError();
promise.setError(); });
})
} else {
promise.setSuccess(false);
}
} else { } else {
exec(); exec();
} }