mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
Update manage.py
This commit is contained in:
parent
8590c36fa8
commit
e9ed43af0a
1 changed files with 2 additions and 1 deletions
|
@ -700,10 +700,11 @@ def check_real_domain(domain):
|
|||
return domain_real
|
||||
|
||||
def get_token():
|
||||
url = 'http://172.17.0.1:9092/api/tokens'
|
||||
url = 'http://websoft9-appmanage:81/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"]
|
||||
myLogger.info_logger("password: " + password)
|
||||
param = {
|
||||
"identity": "help@websoft9.com",
|
||||
"scope": "user",
|
||||
|
|
Loading…
Reference in a new issue