(fix) password change (fixes #3496)

pull/189/merge
Ludovic Marcotte 2016-02-11 13:46:18 -05:00
parent c8ea2000d8
commit decda96697
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -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)
------------------

View File

@ -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',