Hello all,
I am trying to set up a user management and started to play around with the login-register module .
I found out that I can handle user similar to pages. So I did this
$this->createUserReady($user);
$user->addStatus(Page::statusUnpublished);
$user->save();
The user is created and unpublished, so far so good.
My problem is, when I want to publish the user via admin backend I need to set a password. The new user should just be published/activated.
Did I miss something? Is this way working?
I'm thankful for any hints.