diff --git a/zephyr/views.py b/zephyr/views.py index 448273d1ea..c9d6950dcb 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -490,12 +490,10 @@ def json_send_message(request): return send_message_backend(request, user_profile, user_profile, client_name=request.POST.get("client")) -# Currently tabbott/extra@mit.edu and starnine@mit.edu are our -# superusers. Once we migrate zephyr mirroring, we can drop -# starnine@mit.edu. TODO: Make this a real superuser security check. +# Currently tabbott/extra@mit.edu is our only superuser. TODO: Make +# this a real superuser security check. def is_super_user_api(request): - return request.POST.get("api-key") in ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"] + return request.POST.get("api-key") in ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"] def already_sent_mirrored_message(request): utc_from_ts = datetime.datetime.utcfromtimestamp