Show oauth logos.

This commit is contained in:
Yang Luo
2021-02-13 23:00:43 +08:00
parent bac289d387
commit ea09beffe2
6 changed files with 71 additions and 33 deletions

View File

@ -28,7 +28,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"`
ProviderUrl string `xorm:"varchar(100)" json:"providerUrl"`
ProviderUrl string `xorm:"varchar(200)" json:"providerUrl"`
}
func GetProviders(owner string) []*Provider {