diff --git a/guacamole/src/main/webapp/app/rest/services/userService.js b/guacamole/src/main/webapp/app/rest/services/userService.js index f05ab312e..b04420521 100644 --- a/guacamole/src/main/webapp/app/rest/services/userService.js +++ b/guacamole/src/main/webapp/app/rest/services/userService.js @@ -264,7 +264,7 @@ angular.module('rest').factory('userService', ['$injector', }) // Clear the cache - .success(function passwordChanged(){ + .then(function passwordChanged(){ cacheService.users.removeAll(); });