Fix hidden hash error with password change
This commit is contained in:
@@ -1041,7 +1041,7 @@ define([
|
||||
warning: warning,
|
||||
hash: newHash,
|
||||
href: newHref,
|
||||
roHref: newRoHref
|
||||
roHref: newRoHref,
|
||||
});
|
||||
});
|
||||
};
|
||||
@@ -2121,7 +2121,10 @@ define([
|
||||
var parsedNew = Hash.parsePadUrl(newHref);
|
||||
if (parsedOld.hashData && parsedNew.hashData &&
|
||||
parsedOld.getUrl() !== parsedNew.getUrl()) {
|
||||
if (!parsedOld.hashData.key) { oldHref = newHref; return; }
|
||||
if (parsedOld.hashData.version !== 3 && !parsedOld.hashData.key) {
|
||||
oldHref = newHref;
|
||||
return;
|
||||
}
|
||||
// If different, reload
|
||||
document.location.reload();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user