Laravel say that Auth guard [] is not defined

前端 未结 4 1406
野性不改
野性不改 2021-02-05 11:19

I\'m beginer and I start learn and code with laravel... To enable user login nad registration I write this (as I see on one tutorilal):

at routes.php

         


        
4条回答
  •  感情败类
    2021-02-05 11:38

    In case you edited your config/auth.php, e.g. to add another guard and your config is cached, your guards may not be reloaded. If you experience this problem, clearing the config will fix it.

    $php artisan config:clear or $php artisan config:cache

    I'm using laravel 5.5

提交回复
热议问题