forked from external-repos/pa11y-dashboard
adding ability to provide username and password when creating new task
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user