Fix python3 qrcode and some bugs
This commit is contained in:
@@ -52,6 +52,12 @@ class UserLoginAPI(APIView):
|
||||
return self.success({})
|
||||
|
||||
|
||||
class UserLogoutAPI(APIView):
|
||||
def get(self, request):
|
||||
auth.logout(request)
|
||||
return self.success({})
|
||||
|
||||
|
||||
class UserRegisterAPI(APIView):
|
||||
@validate_serializer(UserRegisterSerializer)
|
||||
def post(self, request):
|
||||
|
||||
Reference in New Issue
Block a user