Преглед изворни кода

Merge branch '20250208_onelogin_fr' into dev

# Conflicts:
#	.env
15313670163 пре 2 месеци
родитељ
комит
c9ea3d9400
1 измењених фајлова са 4 додато и 1 уклоњено
  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.