Fix feedback

pull/1/head
yflory 4 years ago
parent a7a0e3e0a8
commit 7763f966c6

@ -1726,7 +1726,7 @@ define([
if (!edPublic) { if (!edPublic) {
Feedback.send("TEAM_CORRUPTED_EDPUBLIC"); Feedback.send("TEAM_CORRUPTED_EDPUBLIC");
} else if (edPrivate && edPublic && !checkKeyPair(edPrivate, edPublic)) { } else if (edPrivate && edPublic && !checkKeyPair(edPrivate, edPublic)) {
Feedback.send("TEAM_CORRUPTED_EDPUBLIC"); Feedback.send("TEAM_CORRUPTED_EDPRIVATE");
delete teams[id].keys.drive.edPrivate; delete teams[id].keys.drive.edPrivate;
edPrivate = undefined; edPrivate = undefined;
} }

Loading…
Cancel
Save