From 0c3e5f535ae49ae393476ded64163d6ac846e271 Mon Sep 17 00:00:00 2001 From: Guillim Date: Wed, 26 Jun 2019 15:10:59 +0200 Subject: [PATCH] small typo modif or -> and --- app/authentification/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/authentification/views.py b/app/authentification/views.py index d0c55d83..3e6ba9ac 100644 --- a/app/authentification/views.py +++ b/app/authentification/views.py @@ -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():