mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Removed redundant code
This commit is contained in:
parent
ee79add939
commit
12ce81b2bc
@ -1250,8 +1250,7 @@ define([
|
||||
var secret = Hash.getSecrets(parsed.type, parsed.hash, data.password);
|
||||
var opts = {};
|
||||
if (isRo) { opts.view = true; }
|
||||
var auditorKey = parsed.hashData.auditorKey ? parsed.hashData.auditorKey : undefined;
|
||||
var hash = Hash.getHiddenHashFromKeys(parsed.type, secret, opts, auditorKey);
|
||||
var hash = Hash.getHiddenHashFromKeys(parsed.type, secret, opts, parsed.hashData.auditorKey);
|
||||
var hiddenHref = Hash.hashToHref(hash, parsed.type);
|
||||
common.openURL(Hash.getNewPadURL(hiddenHref, obj));
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user