Skip to content

Commit

Permalink
feat: added ADMIN_PASSWORD and ADMIN_USERNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Aug 14, 2024
1 parent 79e0653 commit 29f6f30
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ data = json.load(sys.stdin)

#This is specific to you module, so you need to change it accordingly.
host = data.get("host")

ADMIN_USERNAME = data.get("ADMIN_USERNAME", "listmonk")
ADMIN_PASSWORD = data.get("ADMIN_PASSWORD", "listmonk")
config = {
"APP_HOST": "https://"+host,
"ADMIN_USERNAME": ADMIN_USERNAME,
"ADMIN_PASSWORD": ADMIN_PASSWORD,
}
agent.write_envfile("listmonk.env", config)

Expand Down

0 comments on commit 29f6f30

Please sign in to comment.