From f8bd8d8ec97d2f9d112bafe25b4f5340d5d5cc8c Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 27 Apr 2018 00:02:22 -0700 Subject: [PATCH] GUACAMOLE-526: Remove call to old-style $http success(). --- guacamole/src/main/webapp/app/rest/services/userService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); });