Activate the account

edited January 9 in General
Hey. please tell me how to remove the activation by e-mail?

Comments


  • or make automatic activation. that after the registration of the transfer to your account.
  • edited January 11
    In /cc-core/controllers/register.php on line 98, add this:

    // Activate & Release
    $newUser->status = 'active';
    $newUser->released = true;
    $userMapper->save($newUser);

    and remove the line

    $mailer->send($newUser->email);
    Warning! Changes made to core files will be lost during updates.
  • edited January 11
    Thank you. Happened! And how to do that at the end of registration, it is redirected to the page account?
  • Help me, please
  • Help meeee
This discussion has been closed.