Merge pull request #645 from laurentj/patch-1

Remove the leak of the password into the console
This commit is contained in:
Danny Coates 2017-11-16 10:58:50 -08:00 committed by GitHub
commit 157e832c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

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',