Fix sessionStorage bug with pad password change

pull/1/head
yflory 5 years ago
parent 550965b1c8
commit e75e22fb10

@ -263,7 +263,7 @@ define([
password = val; password = val;
}), parsed.getUrl()); }), parsed.getUrl());
}).nThen(function (w) { }).nThen(function (w) {
if (!password && sessionStorage.newPadPassword) { if (!password && !stored && sessionStorage.newPadPassword) {
password = sessionStorage.newPadPassword; password = sessionStorage.newPadPassword;
delete sessionStorage.newPadPassword; delete sessionStorage.newPadPassword;
} }

Loading…
Cancel
Save