Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Settings——General——Site Settings——Set Title
If you set title with special characters such as \b, NodeBB will crash.
Home page:
Admin Panel:
@PitaJ Maybe it is a serious security problem.
It may destory data & forum system
@andy1247008998 What is your nodebb version and commit hash?
This seems to work fine for me. "siteTitle":"\b my site"
"siteTitle":"\b my site"
@baris He said he uses 1.4.5 and Chrome in Mac OS.He tried to destroy his friend's experimental community,and then my friend's forum throwed an error:(See the image)
J
Hah, the best kind of fix 😆
徐
@pitaj said in How to setup admin user in config.json in nodebb:
export admin__username="admin" export admin__password="password" export admin__password__confirm="password"
using output of cat command is a good choice 😀 , i will try this.
but i don't think using enviroment variables will work.
thanks ~ 👌
A
Hello,
This is the solution that worked for me 👍 and no more problem with csrf message.
ln -s /opt/nodebb/node_modules/socket.io-client/dist/socket.io.js /opt/nodebb/node_modules/socket.io-client/socket.io.js
But you will probably have the same problem in the next step
T
@julian @psychobunny Yep, that's right, I didnt think about that. Thanks
I re-downloaded Redis from scratch and it worked.