@pitaj It's an issue of preference I guess. I'd like to avoid grunt being a dev tool forcing me to deviate from my integrations needs. If grunt would support multiple instances, it would be great and I'd use it. Else I'd stick with the current big hammer method of always recompiling unconditionally and restarting nodebb afterwards. Accepting the additional penalty of nginx rev proxy streaming timeouts. Not elegant but it works.
HOOK for intercepting "Register user"
-
I want to be able to achieve the following feature : "When user registers AS A NEW USER to the NodeBB Site SUCCESSFULLY, I want to create a same user to some other appplication with same username and password".
Query : Any HOOK that I can intercept to achieve this feature ? Also, can I get the username and password as part of parameters for that HOOK ?
-
@Gauri-Padbidri You'll want to listen for the
action:user.create
hook, which is fired after a user is created successfully.It returns user data, including username, although for security purposes, it does not return the password.
-
Thanks Julian ! But, what if I want to somehow get the users entered password into that action hook ? Any thing I can do to get the password in the create User HOOK ?