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