Support the ongoing development of Laravel.io →
Authentication Validation Configuration
Last updated 2 years ago.
0

Say dd($user->toArray()) before the if ($user->isActive()) and paste here what it prints.

0
array:6 [▼
  "id" => "25"
  "user_name" => "martin"
  "level" => "2"
  "active" => "1"
  "created_at" => "2015-11-26 23:52:37"
  "updated_at" => "2016-06-21 18:37:19"
]
0

Sign in to participate in this thread!

Eventy

Your banner here too?

tinchox77 tinchox77 Joined 18 Jun 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.