diff --git a/UI/WebServerResources/js/Common/Authentication.service.js b/UI/WebServerResources/js/Common/Authentication.service.js index ce41aa8af..9aea24390 100644 --- a/UI/WebServerResources/js/Common/Authentication.service.js +++ b/UI/WebServerResources/js/Common/Authentication.service.js @@ -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,