summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
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)