Start verification just after last experiment

This commit is contained in:
Thomas FORGIONE 2015-10-05 16:06:55 +02:00
parent 9117299eb2
commit ab3ca50f76
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,8 @@
var db = require('../prototype/dbrequests.js');
module.exports.index = function(req, res) {
db.verifyUser(req.session.userId, function() {});
res.setHeader('Content-Type', 'text/html');
res.render('index.jade', res.locals, function(err, result) {

View File

@ -100,7 +100,6 @@ block content
event.preventDefault();
document.getElementById('submitButton').disabled = true;
if (validateForm()) {
console.log("Ok");
document.getElementById('form').submit();
} else {
document.getElementById('submitButton').disabled = false;

View File

@ -18,7 +18,6 @@ module.exports.index = function(req, res) {
res.setHeader('Content-Type', 'text/html');
res.render('vcode.jade', res.locals, function(err, result) {
console.log(err);
res.send(result);
});

View File

@ -6,8 +6,6 @@ var Log = require('../../lib/NodeLog.js');
module.exports.index = function(req, res) {
db.verifyUser(req.session.userId, function() {});
var text = '';
for (var i in req.body) {