reworked invite system

This commit is contained in:
vabene1111
2021-05-28 16:49:03 +02:00
parent a14e33973c
commit c8054349b2
17 changed files with 410 additions and 52 deletions

View File

@@ -16,7 +16,7 @@ class AllAuthCustomAdapter(DefaultAccountAdapter):
# disable password reset for now
def send_mail(self, template_prefix, email, context):
if settings.EMAIL_HOST != '':
if settings.EMAIL_HOST == '':
super(AllAuthCustomAdapter, self).send_mail(template_prefix, email, context)
else:
pass