Show different login formsand use different login auth Laravel Authentication -
is possible modify laravel app authentication? want show different forms per different login route, if have 2 different login routes admin , user.
admin login route, can access admin dashboard
/app/system/login
user login route, can access user page
/app/system/user/login
i tried do
php artisan route:list
and see this
logincontroller@login logincontroller@showloginform
but don't know find them modify requirements. help, ideas please?
you can edit auth controller in http/controllers/auth/authcontroller.php, functions import file illuminate/foundation/auth/authenticatesusers.php.
read documentation how create other auth.
Comments
Post a Comment