KEYCLOAK-8938 TypeError: kc.login(...).success is not a function

This commit is contained in:
stianst 2019-10-11 11:41:14 +02:00 committed by Stian Thorgersen
parent 17785dac08
commit ceeb087dbd

View file

@ -1297,17 +1297,17 @@
return {
login: function(options) {
window.location.replace(kc.createLoginUrl(options));
return createPromise().promise;
return createPromise(false).promise;
},
logout: function(options) {
window.location.replace(kc.createLogoutUrl(options));
return createPromise().promise;
return createPromise(false).promise;
},
register: function(options) {
window.location.replace(kc.createRegisterUrl(options));
return createPromise().promise;
return createPromise(false).promise;
},
accountManagement : function() {