How can we disable Visitor registration emails and immediate login

Not applicable

On our backend service, are handling the registration and verification process. Only after specific conditions are met is the Visitor activated.

Currently, one of two emails is sent by devportal. Welcome (awaiting approval) or Welcome (no approval required).

Note that most other emails have a checkmark to disable.

Also, the user should not be automatically logged in.

Thanks

Solved Solved
0 5 206
1 ACCEPTED SOLUTION

Dear @Thom Linden ,

You can able to configure same in "admin/config/people/accounts" settings page as developer portal administrator. Please find screenshot below.

1282-screen-shot-2015-10-01-at-101824-am.png

Choose, Visitors, but administrator approval is required. This blocks users to automatically login to the developer portal. When an user registers he will be provided with a message like below.

1283-screen-shot-2015-10-01-at-102245-am.png

Once, your backend verification is done, You can set the status of user to active either manually editing user of Drupal APIs exposed using services module. It's not out of the box but easy to setup. Drupal developer can easily expose activating user functionality to the outside world securely using REST APis.

You can configure Email to send to the user once user is activated in "admin/config/people/accounts" page. See screenshot below.

1284-screen-shot-2015-10-01-at-102552-am.png

Keep us posted if you have any queries.

View solution in original post

5 REPLIES 5

Dear @Thom Linden ,

You can able to configure same in "admin/config/people/accounts" settings page as developer portal administrator. Please find screenshot below.

1282-screen-shot-2015-10-01-at-101824-am.png

Choose, Visitors, but administrator approval is required. This blocks users to automatically login to the developer portal. When an user registers he will be provided with a message like below.

1283-screen-shot-2015-10-01-at-102245-am.png

Once, your backend verification is done, You can set the status of user to active either manually editing user of Drupal APIs exposed using services module. It's not out of the box but easy to setup. Drupal developer can easily expose activating user functionality to the outside world securely using REST APis.

You can configure Email to send to the user once user is activated in "admin/config/people/accounts" page. See screenshot below.

1284-screen-shot-2015-10-01-at-102552-am.png

Keep us posted if you have any queries.

Thank you @Anil Sagar. We had tried that approach but we found no way to set the user status to active via the API which would stick. Dev portal seems to be master in the sync with edge.

@Thom Linden , You need to use Developer Portal APIs to set / change user active status. Check services module to expose user status change as an API.

Thanks again @Anil Sagar . We had not realized there was a direct API module to the devportal.

@Thom Linden , Apigee Developer Portal is built on top of famous open source cms Drupal. So, You can leverage any Drupal Contributed module according to your needs. Keep us posted if you have any queries.