зеркало из https://github.com/mozilla/gecko-dev.git
Bug 519262 - Forgot password doesn't work -> throbber keeps spinning
Just get the pref without slashifying with getURLPref.
This commit is contained in:
Родитель
08eb7e1a48
Коммит
6bdcdd5e20
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче