Remove the leak of the password into the console

This commit is contained in:
Laurent Jouanneau 2017-11-16 12:28:16 +01:00 committed by GitHub
parent f0ec5a9496
commit 00fb353465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,6 @@ export default class FileReceiver extends Nanobus {
}); });
if (file.pwd) { if (file.pwd) {
const encoder = new TextEncoder(); const encoder = new TextEncoder();
console.log(file.password + file.url);
this.authKeyPromise = window.crypto.subtle this.authKeyPromise = window.crypto.subtle
.importKey( .importKey(
'raw', 'raw',