Force a save of the model when we're uploading a photo ID so our generated key is always saved.

This commit is contained in:
David Ormsbee
2013-09-12 10:33:24 -04:00
parent dbf088ae39
commit e3895b7856

View File

@@ -410,6 +410,7 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
# Update our record fields
self.photo_id_key = rsa_encrypted_aes_key.encode('base64')
self.save()
@status_before_must_be("must_retry", "ready", "submitted")
def submit(self):