Support the ongoing development of Laravel.io →

Knappster

Joined 20 Feb 2015

Statistics

Threads 2
Replies 5
Solutions 1
Articles 0

Auth::user() not working inside a route group.

In Laravel 4.2 as part of my permissions system I would dynamically setup routes based on the users...

0 Likes
7 Replies
Solved
posted 10 years ago

Summing pivot data

I have a model with a belongsToMany relationship with an additional pivot column. public functio...

0 Likes
0 Replies
replied 10 years ago

Auth::user() not working inside a route group.

For those interested, I still couldn't find a way of getting the auth'ed user in the route group so...

0 Likes
Solved
replied 10 years ago

Auth::user() not working inside a route group.

I don't suppose anyone has any ideas on how to access the auth'ed user within a route group? This is...

0 Likes
replied 10 years ago

Auth::user() not working inside a route group.

I tried creating a before middleware in an attempt to Auth before the request but same result. I get...

0 Likes
replied 10 years ago

Auth::user() not working inside a route group.

Thanks, that explains it. I've just got to come up with a solution.

0 Likes
replied 10 years ago

Unauthorized users can bruteforce to find out what routes exist

Simple, don't allow the routes to exist for unauth'ed users. Deny them the information they seek: Ro...

0 Likes

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.

© 2025 Laravel.io - All rights reserved.