This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

AlanQ
AlanQ

Settings: Allow user registration: Off -- Sign-in requires activation -- The user activates their own account using mail. -- throttle attempts: On -- Login attribute: username

Having created a new user at /backend/rainlab/user/users, I get the message:

User not activated! -- This user has not been activated and may be unable to sign in. Activate this user manually.

I can manually activate the user by clicking Activate this user manually on their preview user page.

But, no email is sent to the user to activate their account.

Inspecting the database I see that activation_code is NULL.

If I manually activate a user then they do receive the Welcome email.

If a user requests a password reset then they do receive a Password Reset email.

I did start adding users before I added the [session] component to the layout. Apart from that I can't think of anything I've done 'wrong'.

I have tried changing Allow user registration: Off to Allow user registration: On, but no change.


System Build: 351

RainLab.user version: 1.2.8

[session] component is added to the layout.

Last updated

AlanQ
AlanQ

The issue is described here Send notification Email to new user created from Back-end #174.

My (current) solution (not yet implemented) is to register and activate the user at the back end, with a 'dummy' password, and then, in the Welcome email, point them to Forgotten Password.

Ideally (especially with Allow Registration set to OFF) the Registration Form on a login page (a page with the Account component) should be replaced with the Forgotten Password Form. Which is what I'm working on now... (any ideas on how to achieve this would be gratefully received).

daftspunky
daftspunky

Thanks AlanQ, GitHub is the best place for this type of thing

AlanQ
AlanQ

Thank you, @daftspunk (@sam1)

As a newbie I wasn't sure if this was a 'bug', a design oversight, or intended behaviour. The problem it causes for me can be worked around, so I wasn't sure if it causes any kind of insurmountable problem for anyone else. I was waiting for some feedback from other users -- "me too" or "not a problem, because..." -- before proceeding.

Last updated

alexandra50613
alexandra50613

the activation email link simply goes back to the signup form. But doesn't actually activate the account. How can I activate the account?

Flynsarmy
Flynsarmy

alexandra50613 said:

the activation email link simply goes back to the signup form. But doesn't actually activate the account. How can I activate the account?

Do you see an ?activate= code in the URL?

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.