Looks like a bug on that only happens when using redis, thanks for reporting.
Invited users can't register Error: invalid-token...
Recently I invited friends to join my forum, and I found back an old issue, but I guess this time it won't be the same problem origin...
previous case : [Invited (future) users can't register](https://community.nodebb.org/topic/6525/invited-future-users-can-t-register url)
Nodebb : latest version
plugin : Emailer (Local) latest version
When an invited friend (with clear cache/cookies) , click on the link to register, he get an invalid token error message.
link received to register looks like :
Here is what I get in my logs :
22/1 11:59  - [31merror[39m: /register
at fn (/var/www/mydomain.com/node_modules/async/lib/async.js:741:34)
at Command.callback (/var/www/mydomain.com/node_modules/async/lib/async.js:1204:30)
at RedisClient.return_reply (/var/www/mydomain.com/node_modules/redis/index.js:664:25)
Thanks for your help
Invitation tokens expire in 24 hours, are they clicking before that? Maybe we should increase that time 24 hours seems pretty short.
haha! might be this -_-;
But a more explicit error message would be nice
The 24h delay was the issue.