From d8d95b17d6cd06cc24746881dc8155e85b29d5e0 Mon Sep 17 00:00:00 2001 From: Matt Hamilton Date: Tue, 4 Dec 2018 06:48:56 -0500 Subject: [PATCH] Remove stale user salts code user['salt'] was originally used as a part of the pbkdf2 implementation. I failed to remove this as a part of the cleanup in #18736. --- homeassistant/auth/providers/homeassistant.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/auth/providers/homeassistant.py b/homeassistant/auth/providers/homeassistant.py index 19aeea5b22e6f9..2c5a76d2c90612 100644 --- a/homeassistant/auth/providers/homeassistant.py +++ b/homeassistant/auth/providers/homeassistant.py @@ -13,7 +13,6 @@ from . import AuthProvider, AUTH_PROVIDER_SCHEMA, AUTH_PROVIDERS, LoginFlow from ..models import Credentials, UserMeta -from ..util import generate_secret STORAGE_VERSION = 1 @@ -59,7 +58,6 @@ async def async_load(self) -> None: if data is None: data = { - 'salt': generate_secret(), 'users': [] }