Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Admin approval of new user self-registration?

Started by Martin Brown 4 years ago · 0 replies · 1746 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 DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 350 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 642 2 months ago