HI!
In the latest SOGo v2 (2.4.3) password change option doesn't work.
There is code in file WebServerResources/UIxPreferences.js:
...
else if (password.length > 0) {
var loginValues = readLoginCookie();
var policy = new PasswordPolicy(loginValues[0],
loginValues[1]);
...
but the function "readLoginCookie()" was removed from file
WebServerResources/generic.js.
The code from version 2.3.23:
function readLoginCookie() {
var loginValues = null;
var cookie = readCookie("0xHIGHFLYxSOGo");
if (cookie && cookie.length > 8) {
var value = decodeURIComponent(cookie.substr(8));
loginValues = value.base64decode().split(":");
}
return loginValues;
}
But when I have copied this code to SOGo 2.4.3, it still haven't
worked. Do anybody has any idea, how to repair this issue?
Bogusław Juza