Skip to content

Commit 0c3e5f5

Browse files
author
Guillim
committed
small typo modif or -> and
1 parent d8a132d commit 0c3e5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/authentification/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def post(self, request, *args, **kwargs):
2626
if not bool(settings.ALLOW_SIGNUP):
2727
return redirect('signup')
2828

29-
if not hasattr(settings, "EMAIL_BACKEND") or not hasattr(settings, "EMAIL_HOST"):
29+
if not hasattr(settings, "EMAIL_BACKEND") and not hasattr(settings, "EMAIL_HOST"):
3030
return render(request, 'email_not_set.html')
3131

3232
if form.is_valid():

0 commit comments

Comments
 (0)