fix(preferences): Fix error 500 when changing password

This commit is contained in:
smizrahi
2023-12-18 14:24:50 +01:00
parent 17eca6f96a
commit 37379ba416
@@ -184,10 +184,6 @@
},
data: { userName: userName, newPassword: newPassword, oldPassword: oldPassword, token: token }
}).then(function() {
// Clean cookies for reauthenticate
$cookies.remove('XSRF-TOKEN', { path: '/SOGo/' });
$cookies.remove('0xHIGHFLYxSOGo', { path: '/SOGo/' });
d.resolve({url: redirectUrl(userName, domain)});
}, function(response) {
var error,