From 97b5a23dbacc2686c4ca6f2ebf00d307c415ff42 Mon Sep 17 00:00:00 2001 From: nineven Date: Sun, 31 Jan 2021 15:58:57 +0800 Subject: [PATCH] fix a bug --- fir_ser/cli/views/login.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/fir_ser/cli/views/login.py b/fir_ser/cli/views/login.py index 69d4778..e6bd1f0 100644 --- a/fir_ser/cli/views/login.py +++ b/fir_ser/cli/views/login.py @@ -1,18 +1,4 @@ -from django.contrib import auth -from api.models import Token, UserInfo, Apps -from rest_framework.response import Response -from api.utils.serializer import UserInfoSerializer -from django.core.cache import cache -from rest_framework.views import APIView -import binascii -import os, datetime, json -from api.utils.utils import get_captcha, valid_captcha, is_valid_domain, is_valid_phone, \ - get_sender_sms_token, is_valid_email, is_valid_sender_code, get_sender_email_token, get_random_username, \ - check_username_exists from api.utils.auth import ApiTokenAuthentication -from api.utils.response import BaseResponse -from fir_ser.settings import CACHE_KEY_TEMPLATE, SERVER_DOMAIN, REGISTER, LOGIN -from api.utils.storage.caches import login_auth_failed, set_default_app_wx_easy import logging from api.views.login import UserInfoView