Registration only to invited users, how?

Hi,

How can I make so users can create account on the system only if invited?

For example:

  • when a visitor accesses In the application, only able to sign. Can not register.

  • a user can only access the registration form if you received an email, and this email contains a link (unique) to register.

There are some extensions that do this? Otherwise, how can I do this?

Thank’s ;)

Hi!

Take a look how the "requestPassword" and "resetPassword" functions work in yii2 advanced template…

Then modify it for your registration.

It is basically the exactly same procedure like you want.

Regards