change auth type for cloud api

This commit is contained in:
usmannasir
2018-11-20 15:43:43 +05:00
parent 0d76751e59
commit 3ffce793cf
15 changed files with 1286 additions and 1553 deletions

View File

@@ -10,6 +10,7 @@ class secMiddleware:
def __call__(self, request):
if request.method == 'POST':
try:
logging.writeToFile(request.body)
data = json.loads(request.body)
for key, value in data.iteritems():
if type(value) == str or type(value) == unicode: