diff --git a/zerver/views/registration.py b/zerver/views/registration.py
index 43cea97ee7..3b84409080 100644
--- a/zerver/views/registration.py
+++ b/zerver/views/registration.py
@@ -514,7 +514,7 @@ def accounts_register(
# password_auth_enabled is normally set via our context processor,
# but for the registration form, there is no logged in user yet, so
# we have to set it here.
- "creating_new_team": realm_creation,
+ "creating_new_realm": realm_creation,
"password_required": password_auth_enabled(realm) and password_required,
"require_ldap_password": require_ldap_password,
"password_auth_enabled": password_auth_enabled(realm),