mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Syntax correction
This commit is contained in:
parent
cc2be6b623
commit
5da033fe94
@ -87,7 +87,6 @@ var factory = function (Util, Crypto, Keys, Nacl) {
|
||||
if (secret.keys && secret.keys.fileKeyStr) { mode = ''; }
|
||||
|
||||
var hash = '/3/' + type + '/' + mode + secret.channel + '/' + pass;
|
||||
|
||||
var hashData = Hash.parseTypeHash(type, hash);
|
||||
if (hashData && hashData.getHash) {
|
||||
return hashData.getHash(opts || {});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user