浏览代码

Bugfix in SSO.

master
Ben Kurtovic 8 年前
父节点
当前提交
7af344b00a
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. +2
    -5
      calefaction/eve/sso.py

+ 2
- 5
calefaction/eve/sso.py 查看文件

@@ -44,13 +44,10 @@ class SSOManager:
in a sensible way or looks to be down.
"""
url = "https://login.eveonline.com/oauth/token"
params = {}
if refresh:
params["grant_type"] = "refresh_token"
params["code"] = code
params = {"grant_type": "refresh_token", "refresh_token": code}
else:
params["grant_type"] = "authorization_code"
params["refresh_token"] = code
params = {"grant_type": "authorization_code", "code": code}
self._debug("[POST] /oauth/token")

try:


正在加载...
取消
保存