The function of version 5.1LTS is to allow users to log on and use it after registration, but only prompts that the account has not been activated and does not need to be activated before use. I added an event for registering to automatically send emails, added an "Activate account" method in authcontroller, and set the corresponding path... version 5.1 LTS
The function is to allow users to log on and use the account after registration, but only prompts that the account has not been activated and does not need to be activated before use. I added an event to register for automatic mail sending, added an "Activate account" method in authcontroller, and set the corresponding route.
However, it is found that clicking the link in the activation email to the website happens to be logged on. This method cannot be used and will automatically jump to the successfully logged on URL.
I think it is appropriate to put the Activation Method in authcontroller. I don't want to write another controller.
Reply content:
LTS version 5.1
The function is to allow users to log on and use the account after registration, but only prompts that the account has not been activated and does not need to be activated before use. I added an event to register for automatic mail sending, added an "Activate account" method in authcontroller, and set the corresponding route.
However, it is found that clicking the link in the activation email to the website happens to be logged on. This method cannot be used and will automatically jump to the successfully logged on URL.
I think it is appropriate to put the Activation Method in authcontroller. I don't want to write another controller.