mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-14 08:07:11 +00:00
fix bug where the user could enter any names in the whitelist
This commit is contained in:
1 parent
b5c0363400
commit
ef20108e32
1 file changed
+2
-2
@@ -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