mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-27 09:02:43 +00:00
fix bug where the user could enter any names in the whitelist
This commit is contained in:
@@ -1131,8 +1131,8 @@ function serializeAppointmentsWhiteList() {
|
||||
var uid = tds.getAttribute("uid");
|
||||
var value = tds.getValue();
|
||||
var user = uid + "=" + value;
|
||||
values.push(user);
|
||||
}
|
||||
if (uid != null)
|
||||
values.push(user);
|
||||
|
||||
$("whiteListValue").value = values;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user