Merge branch 'nightly' into ui
This commit is contained in:
commit
dc6f8f732e
|
@ -70,7 +70,7 @@ echo 'Let\'s create an admin account...' . PHP_EOL;
|
|||
$user = new User(null, $db);
|
||||
|
||||
$user->setUsername(getUserInput('Username: '));
|
||||
$user->setPassword(getUserInput('Password: '));
|
||||
$user->setPassword(Password::GetHash(getUserInput('Password: ')));
|
||||
$user->setEmail(getUserInput('Email: '));
|
||||
$user->setJabberAddress(getUserInput('Jabber address: '));
|
||||
$user->setAdmin(true);
|
||||
|
|
Loading…
Reference in New Issue