Disable authed uploads for zulip.com.

(imported from commit 3c432e730005e4c8404245c974b53c5a49fd4c9d)
This commit is contained in:
Waseem Daher
2014-03-10 13:30:50 -04:00
committed by Steve Howell
parent 2d3a7e5418
commit ef23a4efe4

View File

@@ -94,7 +94,7 @@ def get_file_info(request, user_file):
return uploaded_file_name, content_type
def authed_upload_enabled(realm):
return realm.domain in ('zulip.com', 'squarespace.com', 'bargainbit.com')
return realm.domain in ('squarespace.com', 'bargainbit.com')
def upload_message_image_s3(uploaded_file_name, content_type, file_data, user_profile, private=None, target_realm=None):
if private is None: