Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-11 12:56:26 +08:00 committed by GitHub
parent e9ed43af0a
commit 6e6e63ea0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -703,7 +703,9 @@ def get_token():
url = 'http://websoft9-appmanage:81/api/tokens'
headers = {'Content-type': 'application/json'}
cmd = "cat /usr/share/cockpit/nginx/config.json | jq -r '.NGINXPROXYMANAGER_PASSWORD'"
myLogger.info_logger("password----------------------------------------: ")
password = shell_execute.execute_command_output_all(cmd)["result"]
myLogger.info_logger("xxxxxxxxxx----------------------------------------: ")
myLogger.info_logger("password: " + password)
param = {
"identity": "help@websoft9.com",