Compare commits

...

2 Commits

Author SHA1 Message Date
mal dc6f8f732e Merge branch 'nightly' into ui 2020-09-10 22:02:34 +02:00
mal 2fe693f07d Hotfix for setup script 2020-09-10 21:59:00 +02:00
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);