Hotfix for setup script

This commit is contained in:
mal 2020-09-10 21:59:00 +02:00
parent c6a927e3a5
commit 2fe693f07d
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->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);