96310924 by 周伟奇

admin test10

1 parent 9142b8ff
......@@ -97,8 +97,8 @@ class IWAUrlView(IWABaseView, GenericView):
class AdminLoginView(IWABaseView, GenericView):
def get(self, request, *args, **kwargs):
code = request.data.get('code', '')
is_admin = request.data.get('state', '') == 'admin'
code = request.GET.get('code', '')
is_admin = request.GET.get('state', '') == 'admin'
# q_number = self.get_q_number(conf.IWA_URL, code, conf.IWA_REDIRECT_URI, client_id_base64)
self.running_log.info('code={0}, is_admin={1}'.format(code, is_admin))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!