mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +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)
|
||||
password_h = _rehash(password, username)
|
||||
|
||||
if self._data.get(username_h) =! password_h:
|
||||
if self._data.get(username_h) != password_h:
|
||||
return
|
||||
|
||||
self._data.pop(username_h, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user