diff --git a/app/Models/AuthLog.php b/app/Models/AuthLog.php index 100191a295..856473f000 100644 --- a/app/Models/AuthLog.php +++ b/app/Models/AuthLog.php @@ -31,5 +31,7 @@ class AuthLog extends Model { public $timestamps = false; protected $table = 'authlog'; - protected $dates = ['datetime']; + protected $casts = [ + 'datetime' => 'datetime', + ]; }