File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1212use Illuminate \Foundation \Auth \User as Authenticatable ;
1313use Illuminate \Notifications \Notifiable ;
1414use Moox \Press \QueryBuilder \UserQueryBuilder ;
15- use Spatie \Permission \Traits \HasRoles ;
1615
1716/**
1817 * @property string $user_email
1918 */
2019class WpUser extends Authenticatable implements FilamentUser
2120{
22- use HasFactory, HasRoles, Mutable, Notifiable;
21+ use HasFactory, Mutable, Notifiable;
2322
2423 protected $ fillable = [
2524 'user_login ' ,
@@ -64,8 +63,8 @@ public function __construct(array $attributes = [])
6463 $ this ->fillable = array_keys ($ defaultUserMeta );
6564
6665 $ this ->wpPrefix = config ('press.wordpress_prefix ' );
67- $ this ->table = $ this ->wpPrefix . 'users ' ;
68- $ this ->metatable = $ this ->wpPrefix . 'usermeta ' ;
66+ $ this ->table = $ this ->wpPrefix . 'users ' ;
67+ $ this ->metatable = $ this ->wpPrefix . 'usermeta ' ;
6968
7069 $ this ->initializeMetaFields ();
7170 }
You can’t perform that action at this time.
0 commit comments