Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

where is email validation code in user registration?

edited August 2014 in Vanilla 2.0 - 2.8

i check RegisterApproval(),RegisterBasic(),RegisterCaptcha(),RegisterInvitation() method on class.entrycontroller.php file

here their common code

         $this->UserModel->Validation->ApplyRule('Name', 'Username', $this->UsernameError);
         $this->UserModel->Validation->ApplyRule('TermsOfService', 'Required', T('You must agree to the terms of service.'));
         $this->UserModel->Validation->ApplyRule('Password', 'Required');
         $this->UserModel->Validation->ApplyRule('Password', 'Match');
         $this->UserModel->Validation->ApplyRule('DiscoveryText', 'Required', 'Tell us why you want to join!');

where is code for validate email filed?

is it validate automatically calling $this->AddRule('Email', 'function:ValidateEmail'); function :\


This discussion has been closed.