need some sleep, or commit the whole diff with production...

This commit is contained in:
gled 2019-07-25 12:17:41 -07:00
parent 51dbe2b845
commit 9bbbfeefb2

View file

@ -353,7 +353,7 @@ async def inbox(request):
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']:
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')
raise aiohttp.web.HTTPUnauthorized(body='access denied', content_type='text/plain')
# let's give a try and remove the instance from backoff if it sends us a message