From 37379ba416abb7beef56439f2a584a0445e17c7f Mon Sep 17 00:00:00 2001 From: smizrahi Date: Mon, 18 Dec 2023 14:24:50 +0100 Subject: [PATCH] fix(preferences): Fix error 500 when changing password --- UI/WebServerResources/js/Common/Authentication.service.js | 4 ---- 1 file changed, 4 deletions(-) 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,