mirror fix on oauth2

This commit is contained in:
Unknwon 2014-11-28 21:38:35 -05:00
parent d6132aaa88
commit db4951bc61
3 changed files with 40 additions and 48 deletions

View file

@ -39,6 +39,8 @@ func NewOauthService() {
return
}
oauth2.AppSubUrl = setting.AppSubUrl
setting.OauthService = &setting.Oauther{}
setting.OauthService.OauthInfos = make(map[string]*setting.OauthInfo)