nodebb-plugin-session-sharing not working
-
Hello,
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?
NodeBB v1.17.1
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 = '123456789'; $token = Token::customPayload($payload, $secret); #print_r(json_encode($payload)); // set cookie setcookie("lol", $token, time() + 3600, "/", "myteamspeak.online", false, true); //// NODEBB LOGIN COOKIE ENDE ////
GitHub - RobDWaller/ReallySimpleJWT: A really simple library to generate JSON Web Tokens in PHP.
A really simple library to generate JSON Web Tokens in PHP. - RobDWaller/ReallySimpleJWT
GitHub (github.com)
Does anyone have an idea or even know what I'm doing wrong?
Copyright © 2024 NodeBB | Contributors