mirror of
https://github.com/Yonle/bostr.git
synced 2025-10-04 18:02:29 +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();
|
onClientDisconnect();
|
||||||
|
|
||||||
|
// admin session must be destroyed quick.
|
||||||
|
if (ws.pubkey) terminate_sess(ws.id);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (authorized) {
|
if (authorized) {
|
||||||
|
Reference in New Issue
Block a user