Hello,
I am making a web app for a college project and I am trying to have 3 different authentication types Students, Teachers and Admins. The Auth::guard('student')->attempt() works and returns true when I enter the correct details however Auth::guard('student')->check() returns false even tho I logged in just a second ago.
All of my code can be found here https://github.com/JackPriceBurns/sinap/tree/authentication
I am using LoginController for my authentication
hello @JackPriceBurns u can see my github about multi-auth admin and user...i just override the method https://github.com/ADENH/Multi-Auth-Laravel-5.3 u can add the type of user...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community