Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

Session in Laravel 5.3 #149

Closed
eldair opened this issue Jul 31, 2016 · 3 comments
Closed

Session in Laravel 5.3 #149

eldair opened this issue Jul 31, 2016 · 3 comments

Comments

@eldair
Copy link

eldair commented Jul 31, 2016

Hello,

I've noticed that session/$request->user/auth()->user is no longer available in controller constructor in Laravel 5.3. Is this change intended and is it possible to access user before called controller method?

@tomschlick
Copy link

I'm running into the same issue. It is related to laravel/framework#14824

@bradleybensmith
Copy link

This is explained here and gives a workaround: https://laravel.com/docs/5.3/upgrade#5.3-session-in-constructors

@eldair
Copy link
Author

eldair commented Sep 3, 2016

Yes, there are some workable solutions now, closing the issue.

@eldair eldair closed this as completed Sep 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants