In settings I have session time set for 14 days.
But many users have a problem that they are being logged out every day.
I also need to log in every single day.
Where I can look for the issue ?
I am trying to implement a reply by email feature - using PHP and have successfully replied to topics as another user by passing the _uid parameter.
And that works great.
However, I need to be able to determine their uid from their email address..
I tried to use the /api/users/search endpoint but did not get any useful from it
I am aware that I could just ask Mongo - which is what I am using - but I can't because
If it is not currently possible to grab the uid from the email/username, then I guess that part has to wait until I am able to get Mongo and the extension installed..
You can use the newly added routes https://github.com/NodeBB/NodeBB/blob/master/src/routes/api.js#L17
They are not in v0.9.2, am I right?
I will see if I can somehow manage to get NodeBB master and the write api to magically work
However, that is really awesome
They are in 0.9.2 as far as I know. https://github.com/NodeBB/NodeBB/tree/9c36e81f3ab35edb3e622f14c18df359e35eb930
You are awesome
EDIT: indeed, and it works!
Hi @baris, how can I get this request sent from a python script and get pre-authenticated via Python?
I tried with authorization bearer token but it seems it works only with api/v3, and in api v3 I've no chance to retrieve the user id from an email.
Thanks for any help