add missing initPromise.setSuccess()
This commit is contained in:
parent
ba13cbe004
commit
8d33894989
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ var Keycloak = function (config) {
|
||||||
} else if (initOptions) {
|
} else if (initOptions) {
|
||||||
if (initOptions.token || initOptions.refreshToken) {
|
if (initOptions.token || initOptions.refreshToken) {
|
||||||
setToken(initOptions.token, initOptions.refreshToken);
|
setToken(initOptions.token, initOptions.refreshToken);
|
||||||
|
initPromise.setSuccess();
|
||||||
} else if (initOptions.onLoad) {
|
} else if (initOptions.onLoad) {
|
||||||
var options = {};
|
var options = {};
|
||||||
switch (initOptions.onLoad) {
|
switch (initOptions.onLoad) {
|
||||||
|
|
Loading…
Reference in a new issue