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

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