AiursoftWeb / Kahla.App

Kahla is a cross-platform business messaging app.
https://www.kahla.app
MIT License
415 stars 85 forks source link

Create email confirmation system for Kahla.App #220

Closed Anduin2017 closed 5 years ago

Anduin2017 commented 5 years ago

Now I have created a new API called Send Email. Please view it here.

You can get if the user has successfully validated his Email. If his Email was not validated, show this message in the Me page:

<strong>@Localizer["Your account email was not confirmed!</strong>
<div>Please confirm your email as soon as possible! Or you may lose access to your account in a few days!</div>
<div>Without confirming your email, you won't receive any important notifications and cannot reset your password!</div>            

The Send Email API requests an argument called Email. For one user could bind multiple Emails. This argument is used to indicate which Email he wants to confirm.

After we successfully sent the Email, tell the user that he need to view his inbox and click the verification link.

Anduin2017 commented 5 years ago

While the PR was merged. I think that we need to tell the user which email address we sent. For now the only message we told the user was Hey check your email!.