mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update manage.py
This commit is contained in:
parent
27fbd2141a
commit
703a083047
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ def get_token():
|
|||
url = 'http://172.17.0.1:9092/api/tokens'
|
||||
headers = {'Content-type': 'application/json'}
|
||||
cmd = "cat /usr/share/cockpit/nginx/config.json | jq -r '.NGINXPROXYMANAGER_PASSWORD'"
|
||||
password = shell_execute.execute_command_output_all(cmd)["result"]
|
||||
password = shell_execute.execute_command_output_all(cmd)["result"].rstrip('\n')
|
||||
if password == "uub8ohr3eiP4Chi!":
|
||||
myLogger.info_logger("password: " + password)
|
||||
param = {
|
||||
|
|
Loading…
Reference in a new issue