Hi japet saberon, I am happy that my post is helping you. Let me explain a bit better.
The not_authorized in this case is a localization key, and it should be entered in the resource\lang\en\auth.php, you can read more about localization directly from the laravel website: laravel.com/docs/localization - but let me know if you still struggle.
About the auth.guest middleware, as mentioned on my post, you should put it in $middleware property of your app/Http/Kernel.php class.
Let me know if you need more help :)
japet saberon
reader
Hello sir, I'm follow your blog but I got lost in
not_authorizedandauth.guest.In the
not_authorized, should I put thenot_authorizedinconfig->auth.phpor inresource->lang->en->auth.php.In the
auth.guest, should I put it in$middlewareor$routeMiddleware?