Merge branch 'nightly' into ui

This commit is contained in:
mal 2020-09-10 22:02:34 +02:00
commit dc6f8f732e
1 changed files with 1 additions and 1 deletions

View File

@ -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);