diff --git a/passbook/app_gw/migrations/0003_auto_20190411_1314.py b/passbook/app_gw/migrations/0003_auto_20190411_1314.py new file mode 100644 index 000000000..28434b016 --- /dev/null +++ b/passbook/app_gw/migrations/0003_auto_20190411_1314.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2 on 2019-04-11 13:14 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('passbook_app_gw', '0002_auto_20190321_1521'), + ] + + operations = [ + migrations.AlterField( + model_name='applicationgatewayprovider', + name='authentication_header', + field=models.TextField(blank=True, default='X-Remote-User'), + ), + ] diff --git a/passbook/app_gw/models.py b/passbook/app_gw/models.py index 1bdf2b80b..dec46bdc0 100644 --- a/passbook/app_gw/models.py +++ b/passbook/app_gw/models.py @@ -15,7 +15,7 @@ class ApplicationGatewayProvider(Provider): upstream = ArrayField(models.TextField()) enabled = models.BooleanField(default=True) - authentication_header = models.TextField(default='X-Remote-User') + authentication_header = models.TextField(default='X-Remote-User', blank=True) default_content_type = models.TextField(default='application/octet-stream') upstream_ssl_verification = models.BooleanField(default=True)