mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-24 08:56:28 +00:00
📝(docs) clarify sub as optional to support email-only user provisioning
Update the sub field documentation to explicitly reflect its optional nature. Originally intended to be mandatory, sub became optional due to a code issue. This change acknowledges and formalizes that behavior as intentional. The optional sub enables external API integrations to provision users with only an email address. Full identity (sub) is assigned on first login, allowing third-party platforms to create users before they authenticate.
This commit is contained in:
committed by
aleb_the_flash
parent
8348a55f7e
commit
9523f52546
@@ -146,7 +146,8 @@ class User(AbstractBaseUser, BaseModel, auth_models.PermissionsMixin):
|
||||
sub = models.CharField(
|
||||
_("sub"),
|
||||
help_text=_(
|
||||
"Required. 255 characters or fewer. Letters, numbers, and @/./+/-/_ characters only."
|
||||
"Optional for pending users; required upon account activation. "
|
||||
"255 characters or fewer. Letters, numbers, and @/./+/-/_ characters only."
|
||||
),
|
||||
max_length=255,
|
||||
unique=True,
|
||||
|
||||
Reference in New Issue
Block a user