KEYCLOAK-8938 TypeError: kc.login(...).success is not a function
This commit is contained in:
parent
17785dac08
commit
ceeb087dbd
1 changed files with 3 additions and 3 deletions
|
@ -1297,17 +1297,17 @@
|
||||||
return {
|
return {
|
||||||
login: function(options) {
|
login: function(options) {
|
||||||
window.location.replace(kc.createLoginUrl(options));
|
window.location.replace(kc.createLoginUrl(options));
|
||||||
return createPromise().promise;
|
return createPromise(false).promise;
|
||||||
},
|
},
|
||||||
|
|
||||||
logout: function(options) {
|
logout: function(options) {
|
||||||
window.location.replace(kc.createLogoutUrl(options));
|
window.location.replace(kc.createLogoutUrl(options));
|
||||||
return createPromise().promise;
|
return createPromise(false).promise;
|
||||||
},
|
},
|
||||||
|
|
||||||
register: function(options) {
|
register: function(options) {
|
||||||
window.location.replace(kc.createRegisterUrl(options));
|
window.location.replace(kc.createRegisterUrl(options));
|
||||||
return createPromise().promise;
|
return createPromise(false).promise;
|
||||||
},
|
},
|
||||||
|
|
||||||
accountManagement : function() {
|
accountManagement : function() {
|
||||||
|
|
Loading…
Reference in a new issue