From 429453af36ddf5e093907589077ee6b3a5b47573 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:16:27 +0100 Subject: [PATCH] fix(ui): make sure file mounts do not showing the encrypted values --- app/Models/LocalFileVolume.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/LocalFileVolume.php b/app/Models/LocalFileVolume.php index 2c223be77..c1345c0fb 100644 --- a/app/Models/LocalFileVolume.php +++ b/app/Models/LocalFileVolume.php @@ -7,6 +7,12 @@ class LocalFileVolume extends BaseModel { + protected $casts = [ + 'fs_path' => 'encrypted', + 'mount_path' => 'encrypted', + 'content' => 'encrypted', + ]; + use HasFactory; protected $guarded = [];