adding ability to provide username and password when creating new task

This commit is contained in:
Andrew Mee
2015-07-03 16:23:45 +01:00
parent d6bc045d52
commit 91a4c8391f
6 changed files with 73 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ function route (app) {
task.name = req.body.name;
task.ignore = req.body.ignore;
task.timeout = req.body.timeout;
task.username = req.body.username;
task.password = req.body.password;
var standards = getStandards().map(function (standard) {
if (standard.title === task.standard) {
standard.selected = true;