Enable authed file uploads for squarespace

(imported from commit c72e76d27f99cd7610eb6c93b57b8ff727b461a9)
This commit is contained in:
Kevin Mehall 2013-10-24 12:11:12 -04:00
parent 5e1caad88a
commit 0a271f149b
1 changed files with 1 additions and 1 deletions

View File

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