diff options
author | Unknwon <u@gogs.io> | 2015-09-21 10:09:21 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-21 10:09:21 -0400 |
commit | 700ac8dea7153afce3672f032cc30b96a357539c (patch) | |
tree | 643b1227138423a03b76ae24b9bd0978de1a7b48 /modules | |
parent | 69b1d65c9bc2f39586dbbdcbda24a1d302c8ba9a (diff) | |
download | gitea-700ac8dea7153afce3672f032cc30b96a357539c.tar.gz gitea-700ac8dea7153afce3672f032cc30b96a357539c.zip |
fix #1664
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 3164a50a66..c326ed3794 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -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 ) |