revert to correct key
This commit is contained in:
parent
32900d89e3
commit
a3e033b7e8
2
app.py
2
app.py
@ -560,7 +560,7 @@ def _update_npm_config(credentials=None):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user