Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

templates: Move remote_realm_server_mismatch_error.html to zerver.

Mateusz Mandera100cef91866f
diff --git a/templates/zilencer/remote_realm_server_mismatch_error.html b/templates/zerver/remote_realm_server_mismatch_error.html
similarity index 100%
rename from templates/zilencer/remote_realm_server_mismatch_error.html
rename to templates/zerver/remote_realm_server_mismatch_error.html
diff --git a/zerver/views/push_notifications.py b/zerver/views/push_notifications.py
index f18a3ae264f..5283a0ed749 100644
--- a/zerver/views/push_notifications.py
+++ b/zerver/views/push_notifications.py
@@ -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)