The title is a bit long but pretty much explains what i need. I have built a bulk user upload via CSV feature, the problem is that when these accounts are created the verification email gets sent, these emails have already been verified though, these guys simply receive an email and a temp pw saying login here to xyz, however, i do allow users to register by the normal means and i need these guys to receive the verification email, is it possible to programatically enable and disable this ?
for instance if disabled in the parse config on server init can i re-enable it as part of a cloud code endpoint that registers another user type ?
Is there some easy way to extend this from server cloud code UserController ? so that i can specifically hook into or clone this temporarily enabling verifications
@Manuel We built a custom uploader that takes a CSV then proceeds to create parse accounts, however during the process it was sending the users verification emails which is not required for these users. I believe it happens when you do setUsername or setEmail like the below:
Just so I am aware, how long does it usually take to implement PRs ? if its a long time i may fork and use the above solution
const user: Parse.User & any = new Parse.User();
user.setPassword(password);
user.setUsername(email);
user.setEmail(email);
In a few days I assume; it needs to go through review. It’s sensitive since we want to avoid any complications with existing email verification status and consider possible use cases, see the related issue discussion. Feel free to try out the branch and provide feedback if you can, this would help us to make sure we design it in a way that it’s useful for you.