laravel verify that auth user is equals to user passed as parameter code example Example: laravel auth namespace use Illuminate\Support\Facades\Auth;