@Imgbi as of now I have no time to do that. But I could do this later though.
nodebb-plugin-session-sharing not working
ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ last edited by ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ
I had installed this plugin before and it works.
Now I have installed it again after a few months, but somehow it no longer works. Here are my settings and my code in the application. Am I doing something wrong? This is actually how it should work.
Or is the plugin no longer compatible with the new Nodebb version?
My PHP Code
//// NODEBB LOGIN COOKIE START //// $payload = [ 'id' => $obj->userID, 'username' => $obj->userName, 'email' => $obj->userEmail, 'firstName' => $obj->userFirstName, 'lastName' => $obj->userLastName, 'exp' => time() + 3600, ]; $secret = 'sec!ReT423*&'; $token = Token::customPayload($payload, $secret); #print_r(json_encode($payload)); // set cookie setcookie("dgh", $token, time() + 3600, "/", "myteamspeak.online", false, true); //// NODEBB LOGIN COOKIE ENDE ////
Does anyone have an idea or even know what I'm doing wrong?
ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ last edited by
No idea guys?