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

FIX THE THING

parent 0c7199da
Pipeline #371 passed with stage
in 3 minutes and 48 seconds
......@@ -303,7 +303,7 @@ def useradmin(request):
for name in userlist:
todeny = RegisteredUser.objects.get(user__username__exact=name)
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(
'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