mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Removed auditor key from safe link
This commit is contained in:
parent
74cca0ec8e
commit
bfcfc9b60c
@ -307,7 +307,7 @@ Version 4: Data URL when not a realtime link yet (new pad or "static" app)
|
||||
parsed.channel = hash.slice(0, 32);
|
||||
parsed.key = hash.slice(32, 56);
|
||||
parsed.version = 0;
|
||||
parsed.auditorKey = getAuditorKey(hashArr)
|
||||
parsed.auditorKey = getAuditorKey(hashArr);
|
||||
return parsed;
|
||||
}
|
||||
|
||||
|
||||
@ -632,6 +632,7 @@ define([
|
||||
// Use the same options in the full hash
|
||||
var opts = parsed.getOptions();
|
||||
parsed = Utils.Hash.parsePadUrl(newHref);
|
||||
parsedHash = Utils.Hash.parsePadUrl(newHref);
|
||||
currentPad.href = parsed.getUrl(opts);
|
||||
currentPad.hash = parsed.hashData && parsed.hashData.getHash(opts);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user