mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
zilencer: Sync name and authentication_methods on RemoteRealm.
This commit is contained in:
committed by
Tim Abbott
parent
4ef6b7cc44
commit
9b1a495e2c
@@ -104,6 +104,10 @@ class RemoteRealm(models.Model):
|
||||
# Value obtained's from the remote server's realm.host.
|
||||
host = models.TextField()
|
||||
|
||||
name = models.TextField(default="")
|
||||
|
||||
authentication_methods = models.JSONField(default=dict)
|
||||
|
||||
org_type = models.PositiveSmallIntegerField(
|
||||
default=Realm.ORG_TYPES["unspecified"]["id"],
|
||||
choices=[(t["id"], t["name"]) for t in Realm.ORG_TYPES.values()],
|
||||
|
Reference in New Issue
Block a user