You are here

function email_confirm_user_email_rehash in Email Change Confirmation 6

Same name and namespace in other branches
  1. 5 email_confirm.module \email_confirm_user_email_rehash()
  2. 7 email_confirm.module \email_confirm_user_email_rehash()
2 calls to email_confirm_user_email_rehash()
email_confirm_build_mail in ./email_confirm.module
Build and send out the confirmation email to the user's current and proposed new email address.
email_confirm_user_change_mail in ./email_confirm.module
Menu callback; process one time email change confirm and redirects to the user page on success.

File

./email_confirm.module, line 263

Code

function email_confirm_user_email_rehash($pass, $mail) {
  return md5($pass . $mail . drupal_get_private_key());
}