We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef25c1d + 8aa8e9e commit 87c319dCopy full SHA for 87c319d
registrations/views.py
@@ -21,6 +21,8 @@
21
22
23
def is_valid_domain(email):
24
+ if email is None:
25
+ return False
26
domain = email.lower().split('@')[1]
27
is_allowed = (
28
DomainWhitelist.objects
0 commit comments