Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class Chrisbjr\ApiGuard\Http\Middleware\Auth not found #92

Closed
Rofy87 opened this issue Feb 7, 2016 · 3 comments
Closed

Class Chrisbjr\ApiGuard\Http\Middleware\Auth not found #92

Rofy87 opened this issue Feb 7, 2016 · 3 comments

Comments

@Rofy87
Copy link

Rofy87 commented Feb 7, 2016

I'm using Laravel 5.2 and getting this error Class Chrisbjr\ApiGuard\Http\Middleware\Auth not found
even though i added 'apiguard' to the routeMiddleware

@ddimaria
Copy link

ddimaria commented Feb 8, 2016

composer dump-autoload? If that doesn't work, can you paste your routeMiddleware class?

@jzho21
Copy link

jzho21 commented Feb 10, 2016

It seems a when we put "use Auth;" after namespace at Http/Middleware/Apiguard.php will fix this issue.

Do you think that is a bug???

@gholol
Copy link
Contributor

gholol commented Feb 10, 2016

Yes, it's a bug.

gholol added a commit to gholol/api-guard that referenced this issue Feb 10, 2016
awkwardusername added a commit that referenced this issue Feb 13, 2016
A really complex fix for #92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants