default log aggregator username and password to an empty string

other configuration options seem to follow this pattern; the UI code
seems to expect that it can send across an empty string

see: #5276
This commit is contained in:
Ryan Petrello 2017-02-13 16:07:07 -05:00
parent 64a973ae02
commit 5a8a647cf0

View File

@ -258,7 +258,8 @@ register(
register(
'LOG_AGGREGATOR_USERNAME',
field_class=fields.CharField,
allow_null=True,
allow_blank=True,
default='',
label=_('Logging Aggregator Username'),
help_text=_('Username for external log aggregator (if required).'),
category=_('Logging'),
@ -268,7 +269,8 @@ register(
register(
'LOG_AGGREGATOR_PASSWORD',
field_class=fields.CharField,
allow_null=True,
allow_blank=True,
default='',
encrypted=True,
label=_('Logging Aggregator Password/Token'),
help_text=_('Password or authentication token for external log aggregator (if required).'),