Why laravel 6 auth returns false after redirecting by using custom guard?

前端 未结 4 977
醉梦人生
醉梦人生 2021-01-18 23:31

I am trying to make auth through laravel package using admins table. In the project directory I added admin guard into config/auth.php

\'providers\' => [
         


        
4条回答
  •  北海茫月
    2021-01-19 00:04

    An extraction sample of the how you should define your admin model:

     // app/Admin.php
    

    For more on multiple authentications guards see: How to use multiple authentication guards

提交回复
热议问题