mirror of
https://github.com/home-assistant/core.git
synced 2025-04-22 16:27:56 +00:00
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.
This commit is contained in:
parent
26dd490e8e
commit
38b09b1613
@ -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': []
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user