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?