fix peer auth propagation

This commit is contained in:
Stefan Otto committed 2019-10-31 05:26:59 +01:00
1 parent f204ff0222
commit dd19560951
2 files changed
+2 -2

No files matched your search

+2
View File
@@ -106,10 +106,12 @@ class Peer extends EventEmitter
email && (this.email = email);
this.authenticated = true;
this.emit('authenticationChanged');
}
else
{
this.authenticated = false;
this.emit('authenticationChanged');
}
}