Invited (future) users can't register
-
Answer found !
Invitation button in user tab is NOT working if the theme is not the default one.
- nodebb-theme-persona (default) : Ok
- nodebb-theme-vanilla : Fails
- nodebb-theme-lavender : Fails
And now mail is sent to the user , but link from the mail point to : localhost:4567 ...
-
Oh, yeah, I see it. Vanilla and Lavender have the component misspelled. XD
-
localhost:4567 was in url field in config.json
I modified manually to mydomain.com, restarted nodebb... since then it is impossible to login anymore...
I'm stuck...
Even reverting back to localhost:4567 does not help ... -_-; -
Hmm, I'm not sure, maybe check that there isn't a second instance running somehow, maybe restart nginx.
-
I've try everything, even clean install from scratch.
each time I modify the url in config.json right after, any attempt to access the forum is rejected.
reverting to the old reference change nothing...18/9 20:01 [18732] - error: /login
invalid csrf token -
Try clearing you browser cache/cookies?
-
Ok right , it works now.
- Keep default theme until others are fixed to allow invitation to people.
- modify url from localhost to mydomain.com in config.json solved the 'wrong url' send by mail
after this , - clearing cache in browser will avoid having invalid csrf token error.
Do you have an idea on when the themes will be fixed ?
and how to update them ?Was wondering if : git pull is necessary before doing : ./nodebb upgrade ?
-
@sfchun @baris fixed the themes yesterday, but he didn't push to npm. You can pull directly from the repo via the command-line (see below), or poke him to push it to npm.
FYI, to install/upgrade a package directly from github: (You don't typically want to ever do this)
npm i git+https://github.com/NodeBB/nodebb-theme-vanilla.git
Also,
"git pull" updates NodeBB, "./nodebb upgrade" updates its dependent packages.