diff mconfig.inc.php.example @ 1089:00632d30bafe

Implement new settings for making user/votekeys case-insensitive and setting the array of characters used for generating keys in the config.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Jan 2017 01:27:32 +0200
parents 48e16e856646
children 95b74632cfe2
line wrap: on
line diff
--- a/mconfig.inc.php.example	Thu Jan 26 00:48:34 2017 +0200
+++ b/mconfig.inc.php.example	Thu Jan 26 01:27:32 2017 +0200
@@ -26,8 +26,10 @@
   // Default page
   "defaultPage"     => "about", // Default page
 
-  // Vote key length in characters
-  "userKeyLength"   => 8,
+  // User key/votekey settings
+  "userKeyLength"   => 6,       // Vote key length in characters
+  //"userKeyCase"     => true,   // If false, keys are case-INsensitive
+  //"userKeyChars"    => "abdefghjkmnpqrstwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789", // Characters to be used for key generation
 
   // Voting settings
   "voteMin"         => -1,