/{route}?params=values get cleaned immediately, where is that happening and why?
-
@julianlam is there any way I can redirect to page and trigger an "alert" immediately? kinda like the express flash middleware.
I tried writing my own client side params handler, so if its sees an ?error=message, it would grab that and call alert.error(), but when navigating to say
/register?error=message
the params are immediately cleaned up, and page loaded without them -
nah, I have a feeling its happening server side. I edited the Register button href value to add a ?param, and it looks like ajaxify.go honors it.
-
captcha support by akhoury · Pull Request #1533 · NodeBB/NodeBB
added a new filter:register.build that allows adding a data.captcha html value to the register template data, also made its response add an ?error=message param to the /register url modified hook f...
GitHub (github.com)
Copyright © 2024 NodeBB | Contributors