Compare commits

..

No commits in common. "32900d89e377e050090e5cc3e068363c1705fbe1" and "bf60ba6e0a73f78dbb89a36d740b26970b155188" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.4.17"
current_version = "1.4.16"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.4.17
1.4.16

3
app.py
View File

@ -558,9 +558,8 @@ def _update_npm_config(credentials=None):
print("Unauthorized attempt to update NPM config.")
return False
credentials = session.get("auth_credentials")
# If credentials are provided, we skip the session check as the user has already been authenticated
npm = NginxProxyManager(app_config.NPM_HOST, app_config.NPM_EMAIL, app_config.NPM_PASSWORD)
npm = NginxProxyManager(app.config['NPM_HOST'], app.config['NPM_EMAIL'], app.config['NPM_PASSWORD'])
npm.login()
host = npm.get_proxy_host(9)
if host: