Merge pull request #22584 from edx/feanil/fix_photo_id_key
Instantiate idv attempt with a string photo_id_key.
This commit is contained in:
@@ -688,7 +688,7 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
|
||||
|
||||
# Update our record fields
|
||||
if six.PY3:
|
||||
self.photo_id_key = codecs.encode(rsa_encrypted_aes_key, 'base64')
|
||||
self.photo_id_key = codecs.encode(rsa_encrypted_aes_key, 'base64').decode('utf-8')
|
||||
else:
|
||||
self.photo_id_key = rsa_encrypted_aes_key.encode('base64')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user