mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-30 13:22:28 +03:00
Add plugin hook for user login
This commit is contained in:
parent
e7e9532255
commit
07c8fd2990
@ -402,6 +402,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||||||
|
|
||||||
// We are all set, start receiving data
|
// We are all set, start receiving data
|
||||||
ws._socket.resume();
|
ws._socket.resume();
|
||||||
|
if (parent.parent.pluginHandler != null) parent.parent.pluginHandler.callHook('userLoggedIn_end', user);
|
||||||
});
|
});
|
||||||
} catch (e) { console.log(e); }
|
} catch (e) { console.log(e); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user