Fixing CVE-2022-42731 for v2.5

This commit is contained in:
Mohamed ElKalioby
2022-10-10 17:46:03 +03:00
parent 5fbb505e98
commit 90f297d90f
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ def complete_reg(request):
att_obj = AttestationObject((data['attestationObject']))
server = getServer()
auth_data = server.register_complete(
request.session.pop['fido_state'],
request.session.pop('fido_state'),
client_data,
att_obj
)