Initialise first user via the command line

usage:

/var/www/MISP/app/Console/cake userInit -q

returns the created auth key or an error message if users already exist

The created account is an admin user, with the login being admin@admin.test / admin
pull/652/head
Iglocska 2015-09-09 20:52:01 +02:00
parent bc06362d19
commit 3feeee920e
1 changed files with 1 additions and 1 deletions

View File

@ -25,4 +25,4 @@ class PasswordShell extends AppShell {
echo 'Updated ', PHP_EOL;
exit;
}
}
}