From 8d338949892a1a230d16e95812bd658442843999 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 3 Jun 2014 09:28:01 -0400 Subject: [PATCH] add missing initPromise.setSuccess() --- integration/js/src/main/resources/keycloak.js | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/js/src/main/resources/keycloak.js b/integration/js/src/main/resources/keycloak.js index 04b48f735a..4cf7a51418 100755 --- a/integration/js/src/main/resources/keycloak.js +++ b/integration/js/src/main/resources/keycloak.js @@ -57,6 +57,7 @@ var Keycloak = function (config) { } else if (initOptions) { if (initOptions.token || initOptions.refreshToken) { setToken(initOptions.token, initOptions.refreshToken); + initPromise.setSuccess(); } else if (initOptions.onLoad) { var options = {}; switch (initOptions.onLoad) {