mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Rename cookie secret
This commit is contained in:
parent
714704f95f
commit
087f1dc9e4
@ -501,7 +501,7 @@ def start_web_server(args):
|
||||
PASSWORD_DIGEST = hmac.new(args.password).digest()
|
||||
|
||||
if USING_HASSIO_AUTH or USING_PASSWORD:
|
||||
cookie_secret_path = os.path.join(CONFIG_DIR, '.esphomeyaml', '.cookie_secret')
|
||||
cookie_secret_path = os.path.join(CONFIG_DIR, '.esphomeyaml', 'cookie_secret')
|
||||
if os.path.exists(cookie_secret_path):
|
||||
with open(cookie_secret_path, 'r') as f:
|
||||
COOKIE_SECRET = f.read()
|
||||
|
Loading…
Reference in New Issue
Block a user