Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-04 18:05:31 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2014-11-06 17:16:14 +0300
commit24ca2d858f9cc020b2ca7310977cd4272a6809fb (patch)
tree9bfc2d8f93206b249f9af8ea0c1c2706fae896d7 /config
parent1d6c7e28e9e5df5a3e9590eb22025e2c59c13338 (diff)
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.php6
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.