aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 8061577..1a43191 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -11,6 +11,7 @@ var Color = require("color").Color;
var TriagedDistro = 13;
var NumberOfFrames = 7;
var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id=";
+var BSTPrefNS = "bugzilla-triage.setting.";
// ====================================================================================
// BZPage's methods
@@ -627,12 +628,13 @@ BZPage.prototype.getAttachments = function getAttachments () {
* @return String with the password
*/
BZPage.prototype.getPassword = function getPassword () {
- if (preferences.isSet("BZpassword")) {
- return preferences.get("BZpassword",undefined);
+ var prefName = BSTPrefNS+"BZpassword";
+ if (preferences.isSet(prefName)) {
+ return preferences.get(prefName,undefined);
} else {
var passwordText = util.getPassword();
if (passwordText) {
- preferences.set("BZpassword", passwordText);
+ preferences.set(prefName, passwordText);
}
}
};