mirror of https://github.com/zulip/zulip.git
models: Document UserProfile.avatar_hash as LDAP-only.
This commit is contained in:
parent
b36ad31f0e
commit
3ce06361c8
|
@ -560,6 +560,9 @@ class UserProfile(AbstractBaseUser, PermissionsMixin, UserBaseSettings):
|
||||||
default=AVATAR_FROM_GRAVATAR, choices=AVATAR_SOURCES, max_length=1
|
default=AVATAR_FROM_GRAVATAR, choices=AVATAR_SOURCES, max_length=1
|
||||||
)
|
)
|
||||||
avatar_version = models.PositiveSmallIntegerField(default=1)
|
avatar_version = models.PositiveSmallIntegerField(default=1)
|
||||||
|
# This is only used for LDAP-provided avatars; it contains the
|
||||||
|
# SHA256 hex digest of most recent raw contents that LDAP provided
|
||||||
|
# us, pre-thumbnailing.
|
||||||
avatar_hash = models.CharField(null=True, max_length=64)
|
avatar_hash = models.CharField(null=True, max_length=64)
|
||||||
|
|
||||||
# TODO: TUTORIAL_STATUS was originally an optimization designed to
|
# TODO: TUTORIAL_STATUS was originally an optimization designed to
|
||||||
|
|
Loading…
Reference in New Issue