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.
1 parent 0ff17e6 commit 8aa8e9eCopy full SHA for 8aa8e9e
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