Browse Source

fix #1664

tags/v1.21.12.1
Unknwon 10 years ago
parent
commit
700ac8dea7
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      modules/setting/setting.go

+ 0
- 13
modules/setting/setting.go View File

@@ -18,7 +18,6 @@ import (
"gopkg.in/ini.v1"

"github.com/Unknwon/com"
"github.com/macaron-contrib/oauth2"
"github.com/macaron-contrib/session"

"github.com/gogits/gogs/modules/bindata"
@@ -557,18 +556,6 @@ type Mailer struct {
CertFile, KeyFile string
}

type OauthInfo struct {
oauth2.Options
AuthUrl, TokenUrl string
}

// Oauther represents oauth service.
type Oauther struct {
GitHub, Google, Tencent,
Twitter, Weibo bool
OauthInfos map[string]*OauthInfo
}

var (
MailService *Mailer
)


Loading…
Cancel
Save