@ -26,7 +26,7 @@ class SignupView(TemplateView):
if not bool(settings.ALLOW_SIGNUP):
return redirect('signup')
if not hasattr(settings, "EMAIL_BACKEND") or not hasattr(settings, "EMAIL_HOST"):
if not hasattr(settings, "EMAIL_BACKEND") and not hasattr(settings, "EMAIL_HOST"):
return render(request, 'email_not_set.html')
if form.is_valid():