summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-28 21:38:35 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-28 21:38:35 -0500
commitdb4951bc61bb0b17edb759d01b1750a60e572fcc (patch)
tree9639414493155b2a0502cb7409b0f138c1de0b19 /modules
parentd6132aaa88d0ef0bc261aab0a6915835d40b7372 (diff)
downloadgitea-db4951bc61bb0b17edb759d01b1750a60e572fcc.tar.gz
gitea-db4951bc61bb0b17edb759d01b1750a60e572fcc.zip
mirror fix on oauth2
Diffstat (limited to 'modules')
-rw-r--r--modules/social/social.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/social/social.go b/modules/social/social.go
index 8406cd52cb..bdafae6902 100644
--- a/modules/social/social.go
+++ b/modules/social/social.go
@@ -39,6 +39,8 @@ func NewOauthService() {
return
}
+ oauth2.AppSubUrl = setting.AppSubUrl
+
setting.OauthService = &setting.Oauther{}
setting.OauthService.OauthInfos = make(map[string]*setting.OauthInfo)