From 8e7871dd2567c1225568c15d2cc33d50b89d7d34 Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Wed, 11 Jan 2012 14:30:34 +0000
Subject: [PATCH] Doc updates.

---
 resources/static/shared/user.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/resources/static/shared/user.js b/resources/static/shared/user.js
index 268cd7f5a..dc9513442 100644
--- a/resources/static/shared/user.js
+++ b/resources/static/shared/user.js
@@ -343,7 +343,10 @@ BrowserID.User = (function() {
 
     /**
      * A full provision a primary user, if they are authenticated, save their
-     * cert/keypair, and authenticate them to BrowserID.
+     * cert/keypair.  Note, we do not authenticate to browserid.org but
+     * merely get an assertion for browserid.org so that we can either add the
+     * email to the current account or authenticate the user if not
+     * authenticated.
      * @method provisionPrimaryUser
      * @param {string} email
      * @param {object} info - provisioning info
@@ -368,7 +371,6 @@ BrowserID.User = (function() {
                   });
                 }
                 else {
-                  // XXX change this to could_not_provision
                   onComplete("primary.could_not_add");
                 }
               }, onFailure);
-- 
GitLab