After I log on with laravel5.2 user authentication, I can print the user information directly in the login method. When jumping to another controller, the user login information cannot be read, and Auth: user () is printed out as null. The environment is mac + nginx + php + mysql. here we can get user login...
After I log on with laravel5.2 user authentication, I can print the user information directly in the login method. When jumping to another controller, the user login information cannot be read, and Auth: user () is printed out as null.
The environment is mac + nginx + php + mysql
The user logon information can be obtained here.
However, after jumping out of login, the user information cannot be obtained. below is my path configuration
Later, I deployed my project in windows, and the user authentication was normal. What are the extensions required for laravel5.2 development environments or other causes.
Reply content:
After I log on with laravel5.2 user authentication, I can print the user information directly in the login method. When jumping to another controller, the user login information cannot be read, and Auth: user () is printed out as null.
The environment is mac + nginx + php + mysql
The user logon information can be obtained here.
However, after jumping out of login, the user information cannot be obtained. below is my path configuration
Later, I deployed my project in windows, and the user authentication was normal. What are the extensions required for laravel5.2 development environments or other causes.
Some versions later than laravel 5.2 do not require middleware. Let's take a look?
There is, the deployment of video tutorials: https://laravist.com/series/d...