diff options
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r-- | lib/private/setup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php index 6fb5ac2d62d..a18c72db334 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -181,6 +181,7 @@ class OC_Setup { //generate a random salt that is used to salt the local user passwords $salt = OC_Util::generateRandomBytes(30); OC_Config::setValue('passwordsalt', $salt); + OC_Config::setValue('secret', OC_Util::generateRandomBytes(96)); //write the config file OC_Config::setValue('trusted_domains', $trustedDomains); |