Allow more time for the virtual admin to be caught

Problems were occurring for students with slow wireless connections
Paul Wagener 11 years ago
parent 545cc52659
commit bb9e022e6a
  1. 4
      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);
});
}, 3000);
});

Loading…
Cancel
Save