Fix feedback

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

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

Loading…
Cancel
Save