Support the ongoing development of Laravel.io →
Authentication Security Requests
Last updated 2 years ago.
0

Check your session.php config file and ensure all is correct.

Last updated 2 years ago.
0

I didn't changed the session.php file, should I change the driver type?

Last updated 2 years ago.
0

What kind of error do you get? or it's a data issue?

Last updated 2 years ago.
0

I get no error, I get to the route profile and there is auth::check and this check don't work.

Here is my routes way:

Route::get('profile', array('as' => 'profile','uses' => 'UsersController@profile'));

and my function in UsersController

public function profile(){
	return View::make('users.profile');
}
Last updated 2 years ago.
0

Check that your domain, https option, etc. are correct in your session.php config. If its not correct, then the session will not be set on the browser and thus nothing will happen.

A way to check that this is the problem is that a new session will be generated in your session storage whenever you load a new page

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

gstrobl gstrobl Joined 14 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.