mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix syntax
This commit is contained in:
parent
aa8ab593c0
commit
0f01ac1b59
@ -48,7 +48,7 @@ class Auth(JsonConfig, CoreSysAttributes):
|
|||||||
username_h = _rehash(username)
|
username_h = _rehash(username)
|
||||||
password_h = _rehash(password, username)
|
password_h = _rehash(password, username)
|
||||||
|
|
||||||
if self._data.get(username_h) =! password_h:
|
if self._data.get(username_h) != password_h:
|
||||||
return
|
return
|
||||||
|
|
||||||
self._data.pop(username_h, None)
|
self._data.pop(username_h, None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user