lijujohn13 / react-laravel-auth

A basic authentication application with Reactjs frontend + Laravel api.
46 stars 23 forks source link

/home route accessible even if not logged in #1

Open devinsays opened 6 years ago

devinsays commented 6 years ago

Thanks for posting this repo, it's been helpful to see how you've set this up.

I noticed the /home route appears to be accessible whether you're logged in or not.

Do you have a recommendation for ensuring specific routes require auth?

om1 commented 6 years ago

Having the same issue. Any news here?

lijujohn13 commented 5 years ago

Hi Oleg, Sorry for the late reply. You can have a middleware for ensuring auth based access to routes.

Thanks, Liju

On Mon, Sep 17, 2018 at 9:54 PM Oleg Mutzenberger notifications@github.com wrote:

Having the same issue. Any news here?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lijujohn13/react-laravel-auth/issues/1#issuecomment-422080511, or mute the thread https://github.com/notifications/unsubscribe-auth/AMBmFWgfpyQ-FfDJx1KUroaAYlG6yTmWks5ub8yngaJpZM4Tigja .