]> git.mjollnir.org Git - moodle.git/commitdiff
changed email obfuscation character to * MDL-6935 ; merged from MOODLE_17_STABLE
authorskodak <skodak>
Wed, 18 Oct 2006 19:41:32 +0000 (19:41 +0000)
committerskodak <skodak>
Wed, 18 Oct 2006 19:41:32 +0000 (19:41 +0000)
login/forgot_password.php

index 7b20442955d4266edd412d37fa3beb57598aafbc..154a075b7405aff9649e9c5f5f37bc209b66f593 100644 (file)
@@ -219,7 +219,7 @@ if ($page=='emailmaybeconfirmed') {
 // check $page for appropriate page to display
 if ($page=='emailconfirm') {
     // Confirm (internal method) email sent
-    $protectedemail = preg_replace('/([^@]*)@(.*)/', '???????@$2', $user->email); // obfuscate the email address to protect privacy
+    $protectedemail = preg_replace('/([^@]*)@(.*)/', '******@$2', $user->email); // obfuscate the email address to protect privacy
     $txt->emailpasswordconfirmsent = get_string( 'emailpasswordconfirmsent','',$protectedemail );
     notice( $txt->emailpasswordconfirmsent,$CFG->wwwroot.'/index.php'); 
 }