From b6a863fb0e3e15eee672e52e5c4744352a9b7f8c Mon Sep 17 00:00:00 2001 From: David Ormsbee <dave@edx.org> Date: Fri, 13 Sep 2013 11:48:44 -0400 Subject: [PATCH] Make sure we use the name that was frozen at time of verification when sending to Software Secure. --- lms/djangoapps/verify_student/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/verify_student/models.py b/lms/djangoapps/verify_student/models.py index bef2d2be7f4..c35a1cb2a3b 100644 --- a/lms/djangoapps/verify_student/models.py +++ b/lms/djangoapps/verify_student/models.py @@ -476,7 +476,7 @@ class SoftwareSecurePhotoVerification(PhotoVerification): body = { "EdX-ID": str(self.receipt_id), - "ExpectedName": self.user.profile.name, + "ExpectedName": self.name, "PhotoID": self.image_url("photo_id"), "PhotoIDKey": self.photo_id_key, "SendResponseTo": callback_url, -- GitLab