Explorar el Código

取消登录参数判断

locky hace 1 año
padre
commit
89c3860f13
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      controller/index.py

+ 0 - 3
controller/index.py

@@ -133,9 +133,6 @@ class loginHandleView(TemplateView):
         logger = logging.getLogger('django')
         logger.info('------开始认证登录------参数:{}'.format(request_dict))
 
-        if client_id != 'azalexaclient' or response_type != 'code' or scope != 'profile':
-            return response.json(10, res={'msg': 'error'}, extra={'msg': 'message wrong'})
-
         # 请求美洲服登录接口
         region_code = 'US'
         auth_request_url = '{SERVER_PREFIX}/oalexa/auth'.format(SERVER_PREFIX=SERVER_PREFIX)