From 38b09b1613d1f696d170e38d266b073c36f999cc Mon Sep 17 00:00:00 2001 From: Matt Hamilton Date: Tue, 4 Dec 2018 08:39:43 -0500 Subject: [PATCH] Remove stale user salts code (#19004) 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 19aeea5b22e..2c5a76d2c90 100644 --- a/homeassistant/auth/providers/homeassistant.py +++ b/homeassistant/auth/providers/homeassistant.py @@ -13,7 +13,6 @@ from homeassistant.exceptions import HomeAssistantError 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 @@ class Data: if data is None: data = { - 'salt': generate_secret(), 'users': [] }