eLearningDAO / POCRE

Proof Of co-CREation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

user profile email verification

AltiMario opened this issue · comments

The user is able to change the email at any time (because it is not its unique id, where the wallet is the unique id).
In order to avoid fake profiles we have to provide a basic system of email verification.

When the user change (or add a new email the first time) the email from his profile (and click submit) a verification email is sent and a "pending" button is displayed on the page
image
On click to the button, the user can send another verification email (just in case it went "lost") but ask for confirmation in a popup before sending another email.
When the user receives the email and clicks on the verification link, the email in the user profile is verified and so again displayed.

We have already done an email verification process for the users invited to the platform, this function will reuse almost everything.

@AltiMario @huzaifa-99 What should be the text of email sent to user for profile verification

@AltiMario i recomment the Pending Verification button should not be on edit screen rather it should be on view personal profiel screen as in the above image is is replacing the email textbox let say the user entered false email by mistake then this button will replace the text box and they will not be able to change the email an neither verify it

@UmairMukhtar A message can be something simple like "This email need to be verified, please click on the link" (I will change it later if needed).
Good point about the visualisation of the "pending verification" button.