Working on our rocket.chat with login through iframe. I can create users and login through iframe and the API.
My problem is that the users email isn't verify so offline email notifications won't work.
How do I verify their email?
Working on our rocket.chat with login through iframe. I can create users and login through iframe and the API.
My problem is that the users email isn't verify so offline email notifications won't work.
How do I verify their email?
If you are using the Rocket.Chat REST API to create users, it accepts a property verified
which will mark the user's email address as verified. An example of the json posted to the /api/v1/users.create
with email being verified on creation is:
{
"email": "example@example.com",
"name": "Example User",
"password": "example-p@ssw0rd",
"username": "example",
"verified": true
}
Using the verified
property, you no longer need to directly update mongo or use the /api/v1/users.update
.
I think you can verify a user by editing his account and checking the verified option. The user account can be edited from /admin/users