bugfix: remove double password hash

This commit is contained in:
Christian Müller
2015-10-18 18:41:07 +02:00
parent c2654432d8
commit 664eb688ea
+1 -1
View File
@@ -34,7 +34,7 @@ app.post('/note', function (req, res) {
var body = req.body,
session = body.session,
note = body.note,
password = md5(body.password);
password = body.password;
var goToNote = note => res.redirect("/" + note.id);
if (session.indexOf(getTimeStamp()) != 0)
return sendResponse(res, 400, "Session expired");