Merge pull request #450 from jimbo1007/jsfix
add missing initPromise.setSuccess()
This commit is contained in:
commit
cfb6f927b2
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue