Skip to content

Commit 7637ab3

Browse files
committed
fix: Fix the privilege escalation vulnerability in system variables
1 parent ba7b397 commit 7637ab3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

backend/apps/system/crud/system_variable.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def list_all(session: SessionDep, trans: Trans, variable: SystemVariable):
4949
data = SystemVariable(**r.__dict__)
5050
if data.type == 'system':
5151
data.name = trans(data.name)
52-
del data.value
5352
res.append(data)
5453
return res
5554

0 commit comments

Comments
 (0)