From d722818574061bac94000f2f1e06917923447d1c Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 22 Mar 2024 20:40:52 +0000 Subject: [PATCH] fix(models): correct auth_provider field definition in addition to allowing null in the database for this field, forms should allow blank values for this field. --- benefits/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/core/models.py b/benefits/core/models.py index 58e49205c..6aab63447 100644 --- a/benefits/core/models.py +++ b/benefits/core/models.py @@ -172,7 +172,7 @@ class EligibilityVerifier(models.Model): jwe_encryption_alg = models.TextField(null=True) # The JWS-compatible signing algorithm jws_signing_alg = models.TextField(null=True) - auth_provider = models.ForeignKey(AuthProvider, on_delete=models.PROTECT, null=True) + auth_provider = models.ForeignKey(AuthProvider, on_delete=models.PROTECT, null=True, blank=True) selection_label_template = models.TextField() start_template = models.TextField(null=True) # reference to a form class used by this Verifier, e.g. benefits.app.forms.FormClass