From 6bdcdd5e20d29577b5877431fb5af54a3839e369 Mon Sep 17 00:00:00 2001 From: Edward Lee Date: Mon, 28 Sep 2009 13:34:56 -0700 Subject: [PATCH] Bug 519262 - Forgot password doesn't work -> throbber keeps spinning Just get the pref without slashifying with getURLPref. --- services/sync/modules/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index 83c96233aa0e..d245b9dc2f01 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -656,7 +656,7 @@ WeaveSvc.prototype = { }))(), requestPasswordReset: function WeaveSvc_requestPasswordReset(username) { - let res = new Resource(Utils.getURLPref("pwChangeURL")); + let res = new Resource(Svc.Prefs.get("pwChangeURL")); res.authenticator = new NoOpAuthenticator(); res.headers['Content-Type'] = 'application/x-www-form-urlencoded'; let ret = res.post('uid=' + username);