feat: support "Use Email as username" in org (#3002)

Signed-off-by: Grégoire Bélorgey <gregoire@jianda.fr>
This commit is contained in:
Grégoire
2024-06-22 10:52:11 +02:00
committed by GitHub
parent 793a7d6cda
commit cff0c7a273
27 changed files with 63 additions and 1 deletions

View File

@ -72,6 +72,7 @@ type Organization struct {
InitScore int `json:"initScore"`
EnableSoftDeletion bool `json:"enableSoftDeletion"`
IsProfilePublic bool `json:"isProfilePublic"`
UseEmailAsUsername bool `json:"useEmailAsUsername"`
MfaItems []*MfaItem `xorm:"varchar(300)" json:"mfaItems"`
AccountItems []*AccountItem `xorm:"varchar(5000)" json:"accountItems"`