Laravel 5.7 Guest User Gates

In Laravel 5.6 and below authorization gates and policies automatically return `false` for unauthenticated users. New in Laravel 5.7, you can now allow guests to go through authorization checks by using a nullable type-hint or setting the default value as null. Learn how to use guest-enabled gates in Laravel 5.7!

Visit Laravel News for the full post.

The post Laravel 5.7 Guest User Gates appeared first on Laravel News.

Source: Laravel News