Commit 8ced286c authored by David Haynes's avatar David Haynes
Browse files

FIX THE THING

parent 0c7199da
Pipeline #371 passed with stage
in 3 minutes and 48 seconds
...@@ -303,7 +303,7 @@ def useradmin(request): ...@@ -303,7 +303,7 @@ def useradmin(request):
for name in userlist: for name in userlist:
todeny = RegisteredUser.objects.get(user__username__exact=name) todeny = RegisteredUser.objects.get(user__username__exact=name)
if settings.EMAIL_HOST and settings.EMAIL_PORT: if settings.EMAIL_HOST and settings.EMAIL_PORT:
user_mail = todeny.user + settings.EMAIL_DOMAIN user_mail = todeny.user.username + settings.EMAIL_DOMAIN
send_mail( send_mail(
'Your Account has been Denied!', 'Your Account has been Denied!',
###################### ######################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment