Browse Source

Merge branch '20250208_onelogin_fr' into dev

# Conflicts:
#	.env
15313670163 2 months ago
parent
commit
c9ea3d9400
1 changed files with 4 additions and 1 deletions
  1. 4 1
      app/Model/UserToken.php

+ 4 - 1
app/Model/UserToken.php

@@ -18,7 +18,10 @@ class UserToken extends Model
     /**
      * The attributes that are mass assignable.
      */
-    protected array $fillable = [];
+    protected array $fillable = [
+        'user_id', // 添加 user_id 到 fillable 属性
+        'token',
+    ];
 
     /**
      * The attributes that should be cast to native types.