Browse files

MDL-18006 MDL-18807 MDL-20853 suggest some longer and better salt

  • Loading branch information...
1 parent 89ba200 commit 30a8ac91873f09de8636aa37b8281c7847d2e23f @skodak skodak committed Nov 17, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 config-dist.php
  2. +1 −1 lang/en_utf8/report_security.php
View
2 config-dist.php
@@ -66,7 +66,7 @@
// 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
View
2 lang/en_utf8/report_security.php
@@ -123,7 +123,7 @@
$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

0 comments on commit 30a8ac9

Please sign in to comment.