Is it easy to add e-mail verification down the road with restful_authentication?
-
05-07-2019 - |
Question
Working on a new app and using restful-authentication. I was trying to make it as simple as possible to start and then iterate, so I didn't generate with the activation email functionality, planning to add it later down the road. Is there an easy way to do this later on using the existing plugin?
Solution
Yes, you can just rerun the generator with option -include-validation. It will add extra code to your model user and session.
OTHER TIPS
If you're just starting you should take a look at clearance by thoughtbot. It's a great authentication plugin.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow