Only show some providers in signup page.

This commit is contained in:
Yang Luo
2021-06-09 20:39:43 +08:00
parent ec91ded5aa
commit 440aad2369
6 changed files with 25 additions and 6 deletions

View File

@ -29,6 +29,7 @@ type Provider struct {
Type string `xorm:"varchar(100)" json:"type"`
ClientId string `xorm:"varchar(100)" json:"clientId"`
ClientSecret string `xorm:"varchar(100)" json:"clientSecret"`
EnableSignUp bool `json:"enableSignUp"`
Host string `xorm:"varchar(100)" json:"host"`
Port int `json:"port"`