diff --git a/files/routes/admin.py b/files/routes/admin.py index a6a190ef6..ae494fa2c 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -875,12 +875,11 @@ def unban_user(user_id, v): user.ban_reason = None g.db.add(user) - if request.values.get("alts"): - for x in user.alts: - x.is_banned = 0 - x.unban_utc = 0 - x.ban_evade = 0 - g.db.add(x) + for x in user.alts: + x.is_banned = 0 + x.unban_utc = 0 + x.ban_evade = 0 + g.db.add(x) send_repeatable_notification(user.id, "Your account has been reinstated. Please carefully review and abide by the [rules](/post/2510) to ensure that you don't get suspended again.") diff --git a/files/templates/userpage.html b/files/templates/userpage.html index b09d91be3..0079d29f3 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -229,10 +229,6 @@
-
- - -
{% else %} @@ -507,12 +503,6 @@
-
-
- - -
-
{% else %}