diff --git a/src/Model/Token.php b/src/Model/Token.php index 943c3ba..01d7fdd 100644 --- a/src/Model/Token.php +++ b/src/Model/Token.php @@ -91,7 +91,7 @@ protected static function boot() */ public function user() { - return $this->belongsTo(User::class, 'user_id'); + return $this->belongsTo(\CMS::userModel(), 'user_id'); } /**