mirror of
https://github.com/Yonle/bostr.git
synced 2025-09-26 12:56:25 +02:00
orphan sess: admin sess must destroyed
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
@@ -137,6 +137,9 @@ module.exports = (ws, req) => {
|
||||
}
|
||||
|
||||
onClientDisconnect();
|
||||
|
||||
// admin session must be destroyed quick.
|
||||
if (ws.pubkey) terminate_sess(ws.id);
|
||||
});
|
||||
|
||||
if (authorized) {
|
||||
|
Reference in New Issue
Block a user