mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
portico: Improve message for deactivated, invalid and moved orgs.
This commit is contained in:
@@ -569,7 +569,10 @@ class HostDomainMiddleware(MiddlewareMixin):
|
||||
# organizations even if it does not host a realm.
|
||||
return None
|
||||
|
||||
return render(request, "zerver/invalid_realm.html", status=404)
|
||||
context = {
|
||||
"current_url": request.get_host(),
|
||||
}
|
||||
return render(request, "zerver/invalid_realm.html", status=404, context=context)
|
||||
|
||||
set_tag("realm", request_notes.realm.string_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user