summaryrefslogtreecommitdiff
path: root/conf/dokuwiki.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-05-13 17:22:48 +0200
committerandi <andi@splitbrain.org>2005-05-13 17:22:48 +0200
commitb0855b1105f25b1fbd686606588297104def6d3c (patch)
treebcc864d497dfb88d422936af94f5cf40da1daec7 /conf/dokuwiki.php
parentb000c6d4d26cd8f0e24a02811dac7080f3288cb4 (diff)
downloadrpg-b0855b1105f25b1fbd686606588297104def6d3c.tar.gz
rpg-b0855b1105f25b1fbd686606588297104def6d3c.tar.bz2
multiple hash methods for passwords
This patch allows the method for hashing (onewaycrypting) the user passwords to be set with $conf['passcrypt']. Available are MD5, salted MD5, SHA1 salted SHA1 (SSHA) and the old Unix crypt (2 char seed). This change was inspired by a mail from Chris Brotherton (thanks for making me think about this) darcs-hash:20050513152248-9977f-2358b26449ed865a981c8558308a2857ba17c12f.gz
Diffstat (limited to 'conf/dokuwiki.php')
-rw-r--r--conf/dokuwiki.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index bbc6d86a3..eb7a8aaec 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -48,11 +48,12 @@ $conf['mailguard'] = 'hex'; //obfuscate email addresses against sp
// 'hex' - use hex entities to encode the mail address
// 'none' - do not obfuscate addresses
-/* Authentication Options */
+/* Authentication Options - read http://www.splitbrain.org/dokuwiki/wiki:acl */
$conf['useacl'] = 0; //Use Access Control Lists to restrict access?
$conf['openregister']= 1; //Should users to be allowed to register?
$conf['autopasswd'] = 1; //autogenerate passwords and email them to user
-$conf['authtype'] = 'plain'; //which authentication DB should be used (currently plain only)
+$conf['authtype'] = 'plain'; //which authentication backend should be used
+$conf['passcrypt'] = 'smd5'; //Used crypt method (smd5,md5,sha1,ssha,crypt)
$conf['defaultgroup']= 'user'; //Default groups new Users are added to
$conf['superuser'] = '!!not set!!'; //The admin can be user or @group