Fix bug in Casdoor's own 3rd-party login.

This commit is contained in:
Yang Luo
2021-05-01 22:27:20 +08:00
parent 0f7cd56441
commit d509c61816
2 changed files with 8 additions and 2 deletions

View File

@ -31,7 +31,7 @@ type Application struct {
Organization string `xorm:"varchar(100)" json:"organization"`
EnablePassword bool `json:"enablePassword"`
EnableSignUp bool `json:"enableSignUp"`
Providers []string `xorm:"varchar(100)" json:"providers"`
Providers []string `xorm:"varchar(1000)" json:"providers"`
ProviderObjs []*Provider `xorm:"-" json:"providerObjs"`
OrganizationObj *Organization `xorm:"-" json:"organizationObj"`