laravel5.1 login Status How to access Authcontroller content
Source: Internet
Author: User
KeywordsPhplaravellaravel5
Version 5.1 LTS
The function that you want to implement is: Allow the user to sign up to use, but just prompt the account is not activated, do not need to activate before use. I added an event to register for automatic mail, and added a "Activate Account" method to Authcontroller and set up the corresponding route.
But actually found: click on the activation of the message inside the link to the site, exactly is already logged in, this method can not be used, will automatically give me a jump to the successful login URL.
Ask how to solve, I think the activation method in Authcontroller appropriate point, do not want to write another controller.
Reply content:
Version 5.1 LTS
The function that you want to implement is: Allow the user to sign up to use, but just prompt the account is not activated, do not need to activate before use. I added an event to register for automatic mail, and added a "Activate Account" method to Authcontroller and set up the corresponding route.
But actually found: click on the activation of the message inside the link to the site, exactly is already logged in, this method can not be used, will automatically give me a jump to the successful login URL.
Ask how to solve, I think the activation method in Authcontroller appropriate point, do not want to write another controller.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.