Browse Source

small typo modif or -> and

pull/250/head
Guillim 5 years ago
parent
commit
0c3e5f535a
1 changed files with 1 additions and 1 deletions
  1. 2
      app/authentification/views.py

2
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():

Loading…
Cancel
Save