mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 09:55:25 +00:00
fix(preferences): Fix error 500 when changing password
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user