From 9d2e02b7ab841c1208ae622bb6bf923d0d915f4c Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 12 Mar 2012 14:33:43 -0600
Subject: [PATCH] send up ephemeral bit when authenticating with primary-issued
 assertion as well as when authenticating with a password

---
 resources/static/shared/network.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/resources/static/shared/network.js b/resources/static/shared/network.js
index 9a3f2ce55..333f8a9d3 100644
--- a/resources/static/shared/network.js
+++ b/resources/static/shared/network.js
@@ -121,7 +121,8 @@ BrowserID.Network = (function() {
         url: "/wsapi/auth_with_assertion",
         data: {
           email: email,
-          assertion: assertion
+          assertion: assertion,
+          ephemeral: !storage.usersComputer.confirmed(email)
         },
         success: handleAuthenticationResponse.curry("assertion", onComplete, onFailure),
         error: onFailure
-- 
GitLab