misc: do not search for home URLs on requests to non-existant tenants (#61459)
This commit is contained in:
parent
2b4062a90a
commit
ced3e83112
|
@ -73,6 +73,9 @@ def a2_processor(request):
|
|||
|
||||
|
||||
def home(request):
|
||||
if not hasattr(request, 'session'):
|
||||
# pure WSGIRequest, most probably happening for a request to a non-existant tenant.
|
||||
return {}
|
||||
ctx = {}
|
||||
service = get_service(request)
|
||||
if service:
|
||||
|
|
Loading…
Reference in New Issue