]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18006 MDL-18807 MDL-20853 suggest some longer and better salt
authorPetr Skoda <skodak@moodle.org>
Tue, 17 Nov 2009 16:30:39 +0000 (16:30 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 17 Nov 2009 16:30:39 +0000 (16:30 +0000)
config-dist.php
lang/en_utf8/report_security.php

index 34a7b879d1d71144747a3194ee2bfd019aba385e..7e87ead75648e49ee187240e98e8182f6b8d2516 100644 (file)
@@ -67,7 +67,7 @@ $CFG->dbpersist = false;         // Should database connections be reused?
 // 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_!/.,#$~^@{}*&';
+// $CFG->passwordsaltmain = 'a_very_long_random_string_of_characters#@6&*1';
 //
 // After changing the main salt you have to copy old value into one
 // of the following settings - this allows migration to the new salt
index aa72f71bdc7db687401efdcaeea0d514bc774fa9..ce0887b88c205f3b74b759e56b45037092229ca6 100644 (file)
@@ -123,7 +123,7 @@ $string['check_passwordsaltmain_name'] = 'Password salt';
 $string['check_passwordsaltmain_warning'] = 'No password salt has been set';
 $string['check_passwordsaltmain_ok'] = 'Password salt is OK';
 $string['check_passwordsaltmain_weak'] = 'Password salt is weak';
-$string['check_passwordsaltmain_details'] = '<p>It is strongly recommended that a password salt is set as it greatly reduces the risk of password theft.<br />To set a password salt add the following to your config.php file.</p><code>\$CFG->passwordsaltmain = \'arandomstringofcharacters\';</code><p>The random string of characters should be a mix of letters, numbers and other characters.</p>';
+$string['check_passwordsaltmain_details'] = '<p>It is strongly recommended that a password salt is set as it greatly reduces the risk of password theft.<br />To set a password salt add the following to your config.php file.</p><code>\$CFG->passwordsaltmain = \'a_very_long_random_string_of_characters#@6&*1\';</code><p>The random string of characters should be a mix of letters, numbers and other characters.</p>';
 
 $string['check_riskadmin_detailsok'] = '<p>Please verify the following list of system administrators:</p>$a';
 $string['check_riskadmin_detailswarning'] = '<p>Please verify the following list of system administrators:</p>$a->admins