Make the admin login as admin
This commit is contained in:
1 parent
0a955bab41
commit
d4eeb469ba
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user