login error
-
Hello,
I have a newly installed nodebb since the old had lots of problems. This time I was using redis instead of mongodb. After installation I did run ./nodebb setup I have configured everything in there I start the nodebb. When I try to login with my admin account which was configured at the setup stage I get the following error in console.
Error: invalid csrf token at verifytoken (/NodeBB/node_modules/csurf/index.js:234:13) at csrf (/NodeBB/node_modules/csurf/index.js:94:7) at Layer.handle [as handle_request] (/NodeBB/node_modules/express/lib/router/layer.js:76:5) at trim_prefix (/NodeBB/node_modules/express/lib/router/index.js:263:13) at /NodeBB/node_modules/express/lib/router/index.js:230:9 at Function.proto.process_params (/NodeBB/node_modules/express/lib/router/index.js:305:12) at /NodeBB/node_modules/express/lib/router/index.js:221:12 at Function.match_layer (/NodeBB/node_modules/express/lib/router/index.js:288:3) at next (/NodeBB/node_modules/express/lib/router/index.js:182:10) at multipart (/NodeBB/node_modules/connect-multiparty/index.js:42:27)
is there anyone who can help me figure this out?
-
apparently this error is caused by the cookies which are saved in the browser. Ones I cleared the cache and cookies I was able to login with no issue.
Copyright © 2024 NodeBB | Contributors