From fccedc3919a37e68ed0cf42d2f2605aaf93f77ee Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Tue, 27 Sep 2011 17:49:34 +0100 Subject: [PATCH] After the verification is complete, sync the addresses. --- .../static/dialog/controllers/checkregistration_controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browserid/static/dialog/controllers/checkregistration_controller.js b/browserid/static/dialog/controllers/checkregistration_controller.js index 71f72bdc7..8e86c5d04 100644 --- a/browserid/static/dialog/controllers/checkregistration_controller.js +++ b/browserid/static/dialog/controllers/checkregistration_controller.js @@ -63,7 +63,9 @@ // 'pending' - a registration is in progress // 'noRegistration' - no registration is in progress if (status === 'complete') { - me.close(me.verificationMessage); + BrowserIDIdentities.syncEmailKeypairs(function() { + me.close(me.verificationMessage); + }); } else if (status === 'pending') { setTimeout(poll, 3000); } -- GitLab