Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
This commit is contained in:
Unknwon 2015-09-21 10:09:21 -04:00
parent 69b1d65c9b
commit 700ac8dea7

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
)