mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
change auth type for cloud api
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user