mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-04-07 01:03:45 +00:00
Fix syntax
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user