remove salt from UserCipher
This commit is contained in:
@@ -41,8 +41,7 @@ class Customer:
|
||||
selected_prop_idx = user.user_keypad.get_prop_idx_by_keynumb_setidx(key_numb, set_idx)
|
||||
presumed_property_idxs.append(selected_prop_idx)
|
||||
|
||||
enciphered_prop = user.cipher.encipher_salt_hash_code(presumed_property_idxs, self.cipher)
|
||||
if enciphered_prop != user.enciphered_passcode.code:
|
||||
if not user.cipher.compare_nkode(presumed_property_idxs, self.cipher,user.enciphered_passcode.code):
|
||||
return False
|
||||
|
||||
if user.renew:
|
||||
|
||||
Reference in New Issue
Block a user