mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added loginToken support and improved way to embed page into other sites.
This commit is contained in:
parent
b171750f65
commit
9501ffd609
12 changed files with 315 additions and 211 deletions
|
@ -84,7 +84,7 @@ module.exports.CreateMeshRelay = function (parent, ws, req, domain) {
|
|||
}
|
||||
} else {
|
||||
// Get the session from the cookie
|
||||
var cookie = obj.parent.parent.webserver.decodeCookie(req.query.auth);
|
||||
var cookie = obj.parent.parent.decodeCookie(req.query.auth);
|
||||
if (cookie != null) {
|
||||
obj.authenticated = true;
|
||||
if (cookie.tcpport != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue