From be01b1ead56236ab6d73dc65b08ed5aa50b73437 Mon Sep 17 00:00:00 2001 From: Mateusz Kurek Date: Mon, 29 Sep 2014 09:55:40 +0200 Subject: [PATCH] removed password from cmdb user api --- src/ralph/cmdb/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ralph/cmdb/api.py b/src/ralph/cmdb/api.py index a4082e89ad..97042d1644 100644 --- a/src/ralph/cmdb/api.py +++ b/src/ralph/cmdb/api.py @@ -674,6 +674,7 @@ class Meta: 'username': ALL, } resource_name = 'users' + excludes = ['password', 'last_login', 'is_staff', 'is_superuser'] throttle = CacheThrottle( throttle_at=THROTTLE_AT, timeframe=TIMEFRAME,