feat: auto link accounts with the same email (#1464)

This commit is contained in:
Yaodong Yu
2023-01-11 23:19:16 +08:00
committed by GitHub
parent ead844131e
commit 7d25b9cdd8
11 changed files with 74 additions and 40 deletions

View File

@ -50,6 +50,7 @@ type Application struct {
EnableCodeSignin bool `json:"enableCodeSignin"`
EnableSamlCompress bool `json:"enableSamlCompress"`
EnableWebAuthn bool `json:"enableWebAuthn"`
EnableLinkWithEmail bool `json:"enableLinkWithEmail"`
SamlReplyUrl string `xorm:"varchar(100)" json:"samlReplyUrl"`
Providers []*ProviderItem `xorm:"mediumtext" json:"providers"`
SignupItems []*SignupItem `xorm:"varchar(1000)" json:"signupItems"`