KEYCLOAK-2681 JS adapter init function with initOptions argument doesn't call success callback

This commit is contained in:
mposolda 2016-03-18 12:06:28 +01:00
parent f63655edf3
commit 95a1fc32eb

View file

@ -163,6 +163,8 @@
} }
} else if (initOptions.onLoad) { } else if (initOptions.onLoad) {
onLoad(); onLoad();
} else {
initPromise.setSuccess();
} }
} else { } else {
initPromise.setSuccess(); initPromise.setSuccess();