diff --git a/nieuws/admincheck.js b/nieuws/admincheck.js index 737a4d5..b864e96 100644 --- a/nieuws/admincheck.js +++ b/nieuws/admincheck.js @@ -1,5 +1,5 @@ var page = require('webpage').create(); -page.open('http://localhost/nieuws/', function() { +page.open('http://localhost/nieuws/', 'post', 'email=admin@nieuws.nl&password=sesame', function() { setTimeout(function(){ phantom.exit(); }, 1000);