Skip to content

Commit

Permalink
Remove stale user salts code (#19004)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Eriner authored and balloob committed Dec 4, 2018
1 parent 26dd490 commit 38b09b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions homeassistant/auth/providers/homeassistant.py
Expand Up @@ -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
Expand Down Expand Up @@ -59,7 +58,6 @@ async def async_load(self) -> None:

if data is None:
data = {
'salt': generate_secret(),
'users': []
}

Expand Down

0 comments on commit 38b09b1

Please sign in to comment.