changed email obfuscation character to * MDL-6935 ; backported from MOODLE_17_STABLE

This commit is contained in:
skodak
2006-10-18 19:42:43 +00:00
parent ca477ee66a
commit 2aaed68eee
+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');
}