Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Admin approval of new user self-registration?

Started by Martin Brown 4 years ago · 0 replies · 1532 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 Vladimir Novak, 2 weeks ago
3 294 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago