From f697f01e356ebd9d8790d020e6fa81f13e4aa375 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 18 Oct 2006 19:40:27 +0000 Subject: [PATCH] changed email obfuscation character to * MDL-6935 --- login/forgot_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/forgot_password.php b/login/forgot_password.php index 7b20442955d..154a075b740 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -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'); }