diff --git a/NEWS b/NEWS index 508c7e1b9..a32ff4799 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,7 @@ Bug fixes - [web] fixed address autocompletion of mail editor affecting cards list of active addressbook - [web] fixed batched delete of components (#3516) - [web] fixed mail draft autosave in preferences (#3519) + - [web] fixed password change (#3496) 3.0.1 (2016-02-05) ------------------ diff --git a/UI/WebServerResources/js/Common/Authentication.service.js b/UI/WebServerResources/js/Common/Authentication.service.js index 05a321c58..556239129 100644 --- a/UI/WebServerResources/js/Common/Authentication.service.js +++ b/UI/WebServerResources/js/Common/Authentication.service.js @@ -93,7 +93,7 @@ */ getService.$inject = ['$q', '$http', 'passwordPolicyConfig']; function getService($q, $http, passwordPolicyConfig) { - var _this = this, service; + var service; service = { login: function(data) { @@ -171,7 +171,7 @@ changePassword: function(newPassword) { var d = $q.defer(), - loginCookie = _this.readLoginCookie(); + loginCookie = readLoginCookie(); $http({ method: 'POST',