@subesh-s Have you tried using the login utilities route in the write API? It should send back a valid session cookie.
Any hook to nodebb build to perform custom steps
jiangcaiyang Anime Lovers
Is there any hook to perform custom steps, I need to change some text in .tpl file. I am using
sedcommand to perform replacement, this step need to be placed before "nodebb build", and another replacement using
sedneed to be placed after "nodebb build". So I need the hooks, or is there any way to modify source code to get the same results? Thanks in advance.
PitaJ Global Moderator Plugin & Theme Dev
If all you need to change is a template file, you can just edit the template file stored in
static:app.loadhook. Since templates are compiled on demand, this will work as long as
./nodebb buildis run afterwards.
Copyright © 2023 NodeBB | Contributors