[+] check invalid password
This commit is contained in:
parent
06e79d0679
commit
aaf8b12549
@ -27,3 +27,10 @@ class TestCrypto(unittest.TestCase):
|
||||
)
|
||||
|
||||
self.assertTrue(check_res)
|
||||
|
||||
self.assertFalse(
|
||||
crypto.PasswordUtils.secret_check(
|
||||
secret + 'asdfasdfsdf',
|
||||
*hash_res,
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user