Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Feb 19, 2022
1 parent 6d3e0bd commit 0b2c7aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MicroweberPackages/User/Models/User.php
Expand Up @@ -13,6 +13,7 @@

use MicroweberPackages\Core\Models\HasSearchableTrait;
use MicroweberPackages\Customer\Models\Customer;
use MicroweberPackages\Database\Casts\ReplaceSiteUrlCast;
use MicroweberPackages\Database\Casts\StripTagsCast;
use MicroweberPackages\Database\Traits\CacheableQueryBuilderTrait;
use MicroweberPackages\User\Models\ModelFilters\UserFilter;
Expand All @@ -29,6 +30,7 @@ class User extends Authenticatable implements MustVerifyEmail

protected $casts = [
'username' => StripTagsCast::class,
'thumbnail' => ReplaceSiteUrlCast::class,
];

protected $attributes = [
Expand Down

0 comments on commit 0b2c7aa

Please sign in to comment.