Hotfix for setup script
This commit is contained in:
parent
c6a927e3a5
commit
2fe693f07d
|
@ -70,7 +70,7 @@ echo 'Let\'s create an admin account...' . PHP_EOL;
|
||||||
$user = new User(null, $db);
|
$user = new User(null, $db);
|
||||||
|
|
||||||
$user->setUsername(getUserInput('Username: '));
|
$user->setUsername(getUserInput('Username: '));
|
||||||
$user->setPassword(getUserInput('Password: '));
|
$user->setPassword(Password::GetHash(getUserInput('Password: ')));
|
||||||
$user->setEmail(getUserInput('Email: '));
|
$user->setEmail(getUserInput('Email: '));
|
||||||
$user->setJabberAddress(getUserInput('Jabber address: '));
|
$user->setJabberAddress(getUserInput('Jabber address: '));
|
||||||
$user->setAdmin(true);
|
$user->setAdmin(true);
|
||||||
|
|
Loading…
Reference in New Issue