mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Fix typo in setup, thanks for pointing it out ab0oo
This commit is contained in:
parent
ecaf66ee97
commit
f09f2d3290
1 changed files with 3 additions and 3 deletions
|
|
@ -102,12 +102,12 @@ class OC_SETUP {
|
|||
//add prefix to the mysql user name to prevent collissions
|
||||
$dbusername='oc_mysql_'.$username;
|
||||
//hash the password so we don't need to store the admin config in the config file
|
||||
$dbpassowrd=md5(time().$password);
|
||||
$dbpassword=md5(time().$password);
|
||||
|
||||
self::createDBUser($dbusername, $dbpassowrd, $connection);
|
||||
self::createDBUser($dbusername, $dbpassword, $connection);
|
||||
|
||||
OC_CONFIG::setValue('dbuser', $dbusername);
|
||||
OC_CONFIG::setValue('dbpassword', $dbpassowrd);
|
||||
OC_CONFIG::setValue('dbpassword', $dbpassword);
|
||||
|
||||
//create the database
|
||||
self::createDatabase($dbname, $dbusername, $connection);
|
||||
|
|
|
|||
Loading…
Reference in a new issue