I will tell you in detail.
So our requirements are : We have to register bulk users from our DB to discourse. So, we can’t allow users to activate their discourse account via email as we do that via firebase on our webapp.
So, I did some research on discourse code and I commented out the part in userController : activate function which sends email and activated the user there itself so that it was returning the following response :
message: "User activated",
But from yesterday, I started getting this response below :
message: ‘You’re almost done! We sent an activation mail to email@example.com. Please follow the instructions in the mail to activate your account.If it doesn’t arrive, check your spam folder’
How can I check my user register API is hitting the create function or is there some type of caching which is causing me this trouble.