From 7d2632784f2e657396b3fb23f78bd3288c8d63d6 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 17 Apr 2014 02:20:24 -0400 Subject: [PATCH] Mirror fix --- conf/app.ini | 16 ++++++++-------- web.go | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/conf/app.ini b/conf/app.ini index 90ed0b5bc..38b556506 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -98,20 +98,20 @@ ENABLED = false CLIENT_ID = CLIENT_SECRET = SCOPES = all -AUTH_URL = https://graph.qq.com/oauth2.0/authorize -TOKEN_URL = https://graph.qq.com/oauth2.0/token +; QQ 互联 +; 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] ENABLED = false CLIENT_ID = CLIENT_SECRET = SCOPES = all -; 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 -; QQ 互联 -; AUTH_URL = https://api.twitter.com/oauth/authorize -; TOKEN_URL = https://api.twitter.com/oauth/access_token +AUTH_URL = https://api.twitter.com/oauth/authorize +TOKEN_URL = https://api.twitter.com/oauth/access_token [oauth.weibo] ENABLED = false diff --git a/web.go b/web.go index 8dc232fd2..0be2a05a0 100644 --- a/web.go +++ b/web.go @@ -12,7 +12,6 @@ import ( "github.com/codegangsta/cli" "github.com/go-martini/martini" - qlog "github.com/qiniu/log" "github.com/gogits/gogs/modules/auth"