From bb9e022e6a92eea3dc926bcacecaa71d92e8f39f Mon Sep 17 00:00:00 2001 From: Paul Wagener Date: Wed, 23 Apr 2014 17:28:29 +0200 Subject: [PATCH] Allow more time for the virtual admin to be caught Problems were occurring for students with slow wireless connections --- nieuws/admincheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nieuws/admincheck.js b/nieuws/admincheck.js index a7053a7..e5c7df3 100644 --- a/nieuws/admincheck.js +++ b/nieuws/admincheck.js @@ -2,5 +2,5 @@ var page = require('webpage').create(); page.open('http://localhost/nieuws/login.php', 'post', 'gebruikersnaam=Admin&wachtwoord=sesame', function() { setTimeout(function(){ phantom.exit(); - }, 1000); -}); \ No newline at end of file + }, 3000); +});