From 5a8a647cf0376ec09565c1d411329900b8645e2c Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 13 Feb 2017 16:07:07 -0500 Subject: [PATCH] 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 --- awx/main/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/main/conf.py b/awx/main/conf.py index d82e766607..6bb4c15895 100644 --- a/awx/main/conf.py +++ b/awx/main/conf.py @@ -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).'),