mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 02:55:42 +05:00
Auditor fix
This commit is contained in:
parent
dc8dbc75f9
commit
3908e55699
@ -215,8 +215,8 @@ define([
|
||||
formData = Utils.Hash.getFormData(Utils.secret);
|
||||
keys = Utils.secret && Utils.secret.keys;
|
||||
}
|
||||
privateKey = formData.form_private;
|
||||
publicKey = formData.form_public;
|
||||
privateKey = formData?.form_private;
|
||||
publicKey = formData?.form_public;
|
||||
var curvePrivate = privateKey || data.privateKey;
|
||||
if (!curvePrivate) { return void cb({error: 'EFORBIDDEN'}); }
|
||||
var crypto = Utils.Crypto.Mailbox.createEncryptor({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user