diff --git a/apps/assets/serializers/system_user.py b/apps/assets/serializers/system_user.py index b86740f8c..0b7af10bd 100644 --- a/apps/assets/serializers/system_user.py +++ b/apps/assets/serializers/system_user.py @@ -48,6 +48,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer): extra_kwargs = { 'password': { "write_only": True, + 'trim_whitespace': False, "validators": [validate_password_contains_left_double_curly_bracket] }, 'public_key': {"write_only": True},