fix peer auth propagation
This commit is contained in:
1 parent
f204ff0222
commit
dd19560951
2 files changed
+2
-2
No files matched your search
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user