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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Admin approval of new user self-registration?

Started by Martin Brown 4 years ago · 0 replies · 1407 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 Rene, 1 week ago
2 49 1 week ago
Plugins · by Xavier, 4 weeks ago
2 57 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1184 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 75 2 months ago