diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-04 16:05:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-06 15:16:14 +0100 |
commit | 24ca2d858f9cc020b2ca7310977cd4272a6809fb (patch) | |
tree | 9bfc2d8f93206b249f9af8ea0c1c2706fae896d7 /config | |
parent | 1d6c7e28e9e5df5a3e9590eb22025e2c59c13338 (diff) | |
download | nextcloud-server-24ca2d858f9cc020b2ca7310977cd4272a6809fb.tar.gz nextcloud-server-24ca2d858f9cc020b2ca7310977cd4272a6809fb.zip |
Add OCP\Security\IHasher
Public interface for hashing which also works with legacy ownCloud hashes and supports updating the legacy hash via a passed reference.
Follow-up of https://github.com/owncloud/core/pull/10219#issuecomment-61624662
Requires https://github.com/owncloud/3rdparty/pull/136
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 5d6e3cea273..59f892d133b 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -58,6 +58,12 @@ $CONFIG = array( 'passwordsalt' => '', /** + * The hashing cost used by hashes generated by ownCloud + * Using a higher value requires more time and CPU power to calculate the hashes + */ +'hashingCost' => 10, + +/** * Your list of trusted domains that users can log into. Specifying trusted * domains prevents host header poisoning. Do not remove this, as it performs * necessary security checks. |