diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-28 21:20:13 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-28 21:20:13 -0500 |
commit | d6132aaa88d0ef0bc261aab0a6915835d40b7372 (patch) | |
tree | 1c303152b729eba15fbc90e3665594944871927f /conf | |
parent | 9adc8e9d3fe47d985d3bd8963f5803e8eff1c1eb (diff) | |
download | gitea-d6132aaa88d0ef0bc261aab0a6915835d40b7372.tar.gz gitea-d6132aaa88d0ef0bc261aab0a6915835d40b7372.zip |
fix oauth2
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 9 | ||||
-rw-r--r-- | conf/locale/TRANSLATORS | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/conf/app.ini b/conf/app.ini index 2bd32eca60..dba75ed1b5 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -125,13 +125,10 @@ TOKEN_URL = https://accounts.google.com/o/oauth2/token ENABLED = false CLIENT_ID = CLIENT_SECRET = -SCOPES = all +SCOPES = get_user_info ; 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 +AUTH_URL = https://graph.qq.com/oauth2.0/authorize +TOKEN_URL = https://graph.qq.com/oauth2.0/token [oauth.weibo] ENABLED = false diff --git a/conf/locale/TRANSLATORS b/conf/locale/TRANSLATORS index a07e7d5e85..9899ea4eac 100644 --- a/conf/locale/TRANSLATORS +++ b/conf/locale/TRANSLATORS @@ -1,3 +1,5 @@ -# This file lists all individuals having contributed content to the translation. +# This file lists all PUBLIC individuals having contributed content to the translation. +# Order of name is meaningless. -Thomas Fanninger <gogs.thomas@fanninger.at>
\ No newline at end of file +Thomas Fanninger <gogs.thomas@fanninger.at> +Łukasz Jan Niemier <lukasz@niemier.pl>
\ No newline at end of file |