mirror of https://github.com/MISP/MISP
fix: [security tests] removed otp_disabled check for email otp endpoint
- the two are distinct featurespull/9062/merge
parent
bf909d5fff
commit
64f2fd9c31
|
@ -804,9 +804,6 @@ class TestSecurity(unittest.TestCase):
|
|||
logged_in = PyMISP(url, self.test_usr.authkey)
|
||||
logged_in.global_pythonify = True
|
||||
|
||||
with self.assertRaises(Exception):
|
||||
send(logged_in, "GET", f"/users/email_otp")
|
||||
|
||||
with self.assertRaises(Exception):
|
||||
send(logged_in, "GET", f"/users/totp_new")
|
||||
|
||||
|
|
Loading…
Reference in New Issue