зеркало из https://github.com/mozilla/gecko-dev.git
Bug 688574 - Use Weave constant for locked master password (r=mfinkle)
This commit is contained in:
Родитель
42f2878127
Коммит
2640c23aaf
|
@ -443,7 +443,7 @@ let WeaveGlue = {
|
|||
|
||||
// Show what went wrong with login if necessary
|
||||
if (aTopic == "weave:service:login:error") {
|
||||
if (Weave.Status.login == "service.master_password_locked")
|
||||
if (Weave.Status.login == Weave.MASTER_PASSWORD_LOCKED)
|
||||
Weave.Service.logout();
|
||||
else
|
||||
connect.setAttribute("desc", Weave.Utils.getErrorString(Weave.Status.login));
|
||||
|
|
Загрузка…
Ссылка в новой задаче