Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Admin approval of new user self-registration?

Started by Martin Brown 4 years ago · 0 replies · 1641 views
4 years ago

Correct me if I'm wrong, but there seems to be no means for an administrator to approve the enabling of a new user who has self-registered, apart from manually editing the user/accounts/user_name file "state" field. It seems that the means to do this is configurable in login plugin registration settings with "set_user_disabled: true", but there appears to be no means to actually enable the user.

Instead, with minimal changes, the only way I can see to effectively do this is to enable the send_activation_email but change the code so the activation email goes to the plugins.email.to (an administrator) address, and have "set_user_disabled: false" so that when the administrator clicks on the activation link, the user is enabled, and maybe gets a Welcome email.

This seems to me to be a bit of missing functionality.

Also, it might be staring me in the face, but there appears to be no means of setting a user's "state" via the admin console either.

Thanks,
Martin

Suggested topics

Topic Participants Replies Views Activity
Plugins · by renedebaaij, 2 days ago
0 36 2 days ago
Plugins · by complanar, 3 weeks ago
6 389 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 208 2 weeks ago
Plugins · by complanar, 1 month ago
2 482 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 761 2 months ago