How to disable the Dev Portal register button?

I have a client that wants to disable the register button so that no one can register for a new account. All accounts must be provisioned internally first.

Solved Solved
0 1 375
1 ACCEPTED SOLUTION

Unfortunately, you cannot completely remove the register button via the Dev Portal management UI. In order to accomplish this you have to make a small coding change, which we can post at a later date (@Gitesh Koli).

However, you can disable it so that if someone attempts to register then they will receive an unauthorized error.

1) Login to Dev Portal as an administrator.

2) From the administration menu, click Configuration > People > Account Settings

3) Scroll down to the Registration and Cancellation section.

4) Where it says "Who can register accounts?" select Administrators only.

5) Save your settings.

3281-screen-shot-2016-08-02-at-101038-am.png

If you attempt to register then you will receive the following error.

3282-screen-shot-2016-08-02-at-101327-am.png

View solution in original post

1 REPLY 1

Unfortunately, you cannot completely remove the register button via the Dev Portal management UI. In order to accomplish this you have to make a small coding change, which we can post at a later date (@Gitesh Koli).

However, you can disable it so that if someone attempts to register then they will receive an unauthorized error.

1) Login to Dev Portal as an administrator.

2) From the administration menu, click Configuration > People > Account Settings

3) Scroll down to the Registration and Cancellation section.

4) Where it says "Who can register accounts?" select Administrators only.

5) Save your settings.

3281-screen-shot-2016-08-02-at-101038-am.png

If you attempt to register then you will receive the following error.

3282-screen-shot-2016-08-02-at-101327-am.png