Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no switch to disable mail activation in YumRegistrationController::actionRegistration() #198

Open
abos5 opened this issue Oct 8, 2014 · 0 comments

Comments

@abos5
Copy link

abos5 commented Oct 8, 2014

since we are able to set field email as not required, then there should be a switch to turn off activation via email.

Or maybe it's something that I didn't notice.

// Send the Email to the given user object. 
  // $user->profile->email needs to be set.
  public function sendRegistrationEmail($user) {
    if (!isset($user->profile->email)) 
      throw new CException(Yum::t('Email is not set when trying to send Registration Email'));
    ...
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant