Compare commits
2 Commits
bf60ba6e0a
...
32900d89e3
Author | SHA1 | Date | |
---|---|---|---|
32900d89e3 | |||
0e4379d40d |
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.4.16"
|
current_version = "1.4.17"
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
tag_name = "{new_version}"
|
tag_name = "{new_version}"
|
||||||
|
3
app.py
3
app.py
@ -558,8 +558,9 @@ def _update_npm_config(credentials=None):
|
|||||||
print("Unauthorized attempt to update NPM config.")
|
print("Unauthorized attempt to update NPM config.")
|
||||||
return False
|
return False
|
||||||
credentials = session.get("auth_credentials")
|
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()
|
npm.login()
|
||||||
host = npm.get_proxy_host(9)
|
host = npm.get_proxy_host(9)
|
||||||
if host:
|
if host:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user