소스 검색

Bugfix in SSO.

master
Ben Kurtovic 7 년 전
부모
커밋
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:


불러오는 중...
취소
저장