mirror of https://github.com/zulip/zulip.git
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:
parent
fc247cba3f
commit
100cef9186
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue