fix(ui): make sure file mounts do not showing the encrypted values
This commit is contained in:
@@ -7,6 +7,12 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|||||||
|
|
||||||
class LocalFileVolume extends BaseModel
|
class LocalFileVolume extends BaseModel
|
||||||
{
|
{
|
||||||
|
protected $casts = [
|
||||||
|
'fs_path' => 'encrypted',
|
||||||
|
'mount_path' => 'encrypted',
|
||||||
|
'content' => 'encrypted',
|
||||||
|
];
|
||||||
|
|
||||||
use HasFactory;
|
use HasFactory;
|
||||||
|
|
||||||
protected $guarded = [];
|
protected $guarded = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user