diff --git a/accounts/views.py b/accounts/views.py index 2ba15e5..1eed1c5 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -55,7 +55,6 @@ def post(self, request, *args, **kwargs): if 'submit_code' in request.POST: if code_form.is_valid(): code_form.process_code(user=request.user) - messages.success(self.request, "Group code accepted") else: messages.error(self.request, "Group code was invalid") code_form = self.code_form_class(request=self.request)