mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
confirmation: Replace RealmCreationKey - use Confirmation instead.
Fixes #20028. There's no reason to have a special `RealmCreationKey` class - the `Confirmation` system already does this job. This is somewhat complicated by the need to write a migration for `RealmCreationKey`->`Confirmation` for pre-existing, valid objects, to avoid breaking realm creation links that haven't been used yet.
This commit is contained in:
committed by
Tim Abbott
parent
072f234269
commit
40b1f6eb4e
@@ -698,7 +698,7 @@ i18n_urls = [
|
||||
# Realm creation
|
||||
path("json/antispam_challenge", get_challenge),
|
||||
path("new/", create_realm),
|
||||
path("new/<creation_key>", create_realm, name="create_realm"),
|
||||
path("new/<confirmation_key>", create_realm, name="create_realm"),
|
||||
# Realm reactivation
|
||||
path("reactivate/", realm_reactivation, name="realm_reactivation"),
|
||||
path("reactivate/<confirmation_key>", realm_reactivation_get, name="realm_reactivation_get"),
|
||||
|
Reference in New Issue
Block a user