From c8882ed6e35de8fe2c0ee583bbefb95a7f4caf11 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Thu, 4 May 2017 21:29:26 +0200 Subject: [PATCH] Fix Contrib reg_ack False-accepted new requests --- scipost/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/forms.py b/scipost/forms.py index 01da3591d..0b7bb73ef 100644 --- a/scipost/forms.py +++ b/scipost/forms.py @@ -215,7 +215,7 @@ class VetRegistrationForm(forms.Form): label='Justification (optional)', required=False) def promote_to_registered_contributor(self): - return bool(self.cleaned_data.get('decision', False)) + return self.cleaned_data.get('decision') == 'True' class AuthenticationForm(forms.Form): -- GitLab