I want to check the user's email address by sending them a confirmation message. Do you know the good Rails plugin they used or saw?
Since I did not see anything good through Google, at that moment I thought:
- Add a validated logical field to the user model. The default value is false.
- After the user is added (unverified), combine the email with the salt (secret) and create the sha1 hash file from the email / salt list. The result is a check.
- Send a welcome / verification email to the user. Email includes a URL that has an email address and confirmation, as GET indicates confirmation of action on my server.
- The validation action repeats the verification using the attached letter and verifies that the new verification matches that in the URL. If so, then the user's email address is marked as "verified"
You will also be prompted to resend the confirmation email.
Are there any comments about this?
Thanks,
Larry
source share