]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18006 MDL-18807 MDL-20853 adding salt info into config-dist.php
authorPetr Skoda <skodak@moodle.org>
Tue, 17 Nov 2009 15:55:13 +0000 (15:55 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 17 Nov 2009 15:55:13 +0000 (15:55 +0000)
config-dist.php

index 336b6626b31158f4bef51eb4cbf97391bdc92c86..34a7b879d1d71144747a3194ee2bfd019aba385e 100644 (file)
@@ -60,6 +60,27 @@ $CFG->dbpersist = false;         // Should database connections be reused?
                  // "true" can improve performance sometimes
 
 
+//=========================================================================
+// 1.5. SECRET PASSWORD SALT
+//=========================================================================
+// User password salt is very important security feature, it is created
+// automatically in installer, you have to uncomment and modify value
+// on the next line if you are creating config.php manually.
+//
+// $CFG->passwordsaltmain = 'type_something_random_long_and_unique_here_!/.,#$~^@{}*&';
+//
+// After changing the main salt you have to copy old value into one
+// of the following settings - this allows migration to the new salt
+// during the next login of each user.
+//
+// $CFG->passwordsaltalt1 = '';
+// $CFG->passwordsaltalt2 = '';
+// $CFG->passwordsaltalt3 = '';
+// ....
+// $CFG->passwordsaltalt19 = '';
+// $CFG->passwordsaltalt20 = '';
+
+
 //=========================================================================
 // 2. WEB SITE LOCATION
 //=========================================================================