DevMarketer / multiauth_tutorial

156 stars 83 forks source link

Fix logout routes and remember me #28

Open AshGDS opened 5 years ago

AshGDS commented 5 years ago

Hi,

Thank you for your Multi Auth tutorials, they are very helpful. I have noticed a bug though - if you tick Remember Me when logging in, logging out does not work. This is because the logout functions we created in Part 4 are never being accessed. Currently, clicking logout takes you to Laravel's default /logout page instead of /users/logout and /admin/logout.

To fix this, I have:

Thanks :+1: