Compare commits
2 Commits
22e27ed899
...
dc6f8f732e
Author | SHA1 | Date |
---|---|---|
mal | dc6f8f732e | |
mal | 2fe693f07d |
|
@ -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