From 6099b39329a373db48b762765961dab26345750a Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Wed, 16 Oct 2013 08:57:06 +0200 Subject: [PATCH] Fix salt in client --- firefox_addon/lib/main.js | 7 ++++++- server/ressources/gpass.js | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/firefox_addon/lib/main.js b/firefox_addon/lib/main.js index ed90e0e..d71e45d 100644 --- a/firefox_addon/lib/main.js +++ b/firefox_addon/lib/main.js @@ -65,6 +65,11 @@ function on_sumbit() domain = parseURI.parseUri(form.ownerDocument.baseURI); domain = domain["host"]; + salt = parseURI.parseUri(prefSet.prefs["account_url"]); + salt = salt["host"] + salt["path"]; + + console.log("salt " + salt); + // Get all for (i=0; i