mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 01:24:36 +01:00
Mirror fix
This commit is contained in:
parent
e44655f722
commit
7d2632784f
2 changed files with 8 additions and 9 deletions
16
conf/app.ini
16
conf/app.ini
|
@ -98,20 +98,20 @@ ENABLED = false
|
||||||
CLIENT_ID =
|
CLIENT_ID =
|
||||||
CLIENT_SECRET =
|
CLIENT_SECRET =
|
||||||
SCOPES = all
|
SCOPES = all
|
||||||
AUTH_URL = https://graph.qq.com/oauth2.0/authorize
|
; QQ 互联
|
||||||
TOKEN_URL = https://graph.qq.com/oauth2.0/token
|
; AUTH_URL = https://graph.qq.com/oauth2.0/authorize
|
||||||
|
; TOKEN_URL = https://graph.qq.com/oauth2.0/token
|
||||||
|
; Tencent weibo
|
||||||
|
AUTH_URL = https://open.t.qq.com/cgi-bin/oauth2/authorize
|
||||||
|
TOKEN_URL = https://open.t.qq.com/cgi-bin/oauth2/access_token
|
||||||
|
|
||||||
[oauth.twitter]
|
[oauth.twitter]
|
||||||
ENABLED = false
|
ENABLED = false
|
||||||
CLIENT_ID =
|
CLIENT_ID =
|
||||||
CLIENT_SECRET =
|
CLIENT_SECRET =
|
||||||
SCOPES = all
|
SCOPES = all
|
||||||
; Tencent weibo
|
AUTH_URL = https://api.twitter.com/oauth/authorize
|
||||||
AUTH_URL = https://open.t.qq.com/cgi-bin/oauth2/authorize
|
TOKEN_URL = https://api.twitter.com/oauth/access_token
|
||||||
TOKEN_URL = https://open.t.qq.com/cgi-bin/oauth2/access_token
|
|
||||||
; QQ 互联
|
|
||||||
; AUTH_URL = https://api.twitter.com/oauth/authorize
|
|
||||||
; TOKEN_URL = https://api.twitter.com/oauth/access_token
|
|
||||||
|
|
||||||
[oauth.weibo]
|
[oauth.weibo]
|
||||||
ENABLED = false
|
ENABLED = false
|
||||||
|
|
1
web.go
1
web.go
|
@ -12,7 +12,6 @@ import (
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"github.com/go-martini/martini"
|
"github.com/go-martini/martini"
|
||||||
|
|
||||||
qlog "github.com/qiniu/log"
|
qlog "github.com/qiniu/log"
|
||||||
|
|
||||||
"github.com/gogits/gogs/modules/auth"
|
"github.com/gogits/gogs/modules/auth"
|
||||||
|
|
Loading…
Reference in a new issue