From 95b451d5a9a44fdd631b398d830ccdc6f6238b74 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 18 Oct 2006 19:41:32 +0000 Subject: [PATCH] changed email obfuscation character to * MDL-6935 ; merged from MOODLE_17_STABLE --- 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 7b20442955..154a075b74 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'); } -- 2.39.5