You are here

function email_verify_edit_validate in Email Verify 6

Same name and namespace in other branches
  1. 5 email_verify.module \email_verify_edit_validate()
  2. 7 email_verify.module \email_verify_edit_validate()
1 call to email_verify_edit_validate()
email_verify_user in ./email_verify.module
Implementation of hook_user().

File

./email_verify.module, line 30
Verifies thoroughly that email addresses are correctly entered Copyright: Daniel Bonniot <bonniot@users.sourceforge.net> License: GNU GPL v2 or later

Code

function email_verify_edit_validate($uid, &$edit) {

  // Validate the e-mail address:
  if ($error = email_verify_check($edit['mail'])) {
    form_set_error('mail', $error);
  }
  return $edit;
}