Commit 857451f3 authored by Zosman's avatar Zosman
Browse files

changed what it does in unblock to just set the blocked var to false and save it

parent b7733087
......@@ -407,11 +407,11 @@ def useradmin(request):
settings.EMAIL_FROM,
[user_mail]
)
toUNblock.user.delete()
# toUNblock.user.delete()
toUNblock.blocked = False
toUNblock.save()
return HttpResponseRedirect('useradmin')
# toUNblock.blocked = False
# toUNblock.approved = False
# toUNblock.save()
# If we're removing existing users
elif '_remove' in request.POST:
for name in userlist:
......
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