I have two seprate table for authentication. Following middleware pointing to different table:
$this->middleware('auth:admin'); // - admins
$this->middleware('auth'); // - user
The solution i need :
- I want authentication must be done with two diffrent table through only
"
$this->middleware('auth')
" middleware - Through middleware "
$this->middleware('auth')
" I want to login both admin and user. Currently admin and user login from diffrent middleware I have shown above.
For this, in which file and where I need to change in my project folder?