Fix syntax

This commit is contained in:
Pascal Vizeli
2018-10-16 12:45:06 +02:00
committed by GitHub
parent aa8ab593c0
commit 0f01ac1b59

View File

@@ -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)