solved rainbow
This commit is contained in:
@ -56,6 +56,8 @@ def check_passwords(passwords: str, username: str) -> Result:
|
||||
passwords = passwords.split(';')
|
||||
hashes = calc_hashes(passwords, username)
|
||||
stored = random_passwords[asyncio.current_task()]
|
||||
print(random_passwords)
|
||||
print(type(random_passwords))
|
||||
if stored != hashes:
|
||||
return f'Passwords do not match hashes {[h.hex() for h in password_store[username]]}'
|
||||
return True
|
||||
|
Reference in New Issue
Block a user