From 9d975de438149ef94436809da9f9e4331e2b444e Mon Sep 17 00:00:00 2001
From: Petr Skoda <skodak@moodle.org>
Date: Tue, 17 Nov 2009 15:55:13 +0000
Subject: [PATCH] MDL-18006 MDL-18807 MDL-20853 adding salt info into
 config-dist.php

---
 config-dist.php | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/config-dist.php b/config-dist.php
index 336b6626b3..34a7b879d1 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -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
 //=========================================================================
-- 
2.39.5