This commit is contained in:
gled 2019-07-25 12:16:32 -07:00
parent ad0f810c71
commit 4301845434

View file

@ -347,7 +347,7 @@ async def inbox(request):
DATABASE['not-subscribed'] = not_subd
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')
elif AP_CONFIG['whitelist_enabled'] is True and instance not in AP_CONFIG['whitelist']:
elif AP_CONFIG['whitelist_enabled'] is True and instance not in AP_CONFIG['whitelist']:
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')