templates: Move remote_realm_server_mismatch_error.html to zerver.

This is rendered by regular self-hosted servers, so doesn't belong in
zilencer.
This commit is contained in:
Mateusz Mandera 2024-01-10 15:50:30 +01:00 committed by Tim Abbott
parent ba50faced4
commit 7cca077fe6
2 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ def self_hosting_auth_redirect_endpoint(
except ResourceNotFoundError:
return render(request, "404.html", status=404)
except RemoteRealmServerMismatchError:
return render(request, "zilencer/remote_realm_server_mismatch_error.html", status=403)
return render(request, "zerver/remote_realm_server_mismatch_error.html", status=403)
return HttpResponseRedirect(redirect_url)