From b85c284b870c9c15a159511b52f3f81bc2571e20 Mon Sep 17 00:00:00 2001 From: joates Date: Mon, 22 Sep 2014 23:28:13 +0100 Subject: [PATCH] handle duplicate email submissions (by silently dropping them) --- src/email-submit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/email-submit.js b/src/email-submit.js index 6504360..83a3d28 100644 --- a/src/email-submit.js +++ b/src/email-submit.js @@ -57,6 +57,9 @@ module.exports = function(db) { return res.end() }) }) + + } else { + error('already verified: '+ email) } }