changed email obfuscation character to * MDL-6935

This commit is contained in:
skodak
2006-10-18 19:40:27 +00:00
parent 976fe7c655
commit f697f01e35
+1 -1
View 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');
}