Am developing one website for which I have to do user login and registration form for the authentication purpose. My question is can we do this using only refinerycms and if it is possible please tell me how to do this. If it is not possible then please tell me which is the best approach. Am trying to implement user authentication using refinerycms. Am new to refinerycms.
Share
Refinery uses devise so you can use that as well. You can create a model that might look something like this:
and not to forget the migration:
This should create the basic model that you can use. To finish up, change the routes.rb in your extension to add devise routes:
and override refinery/partners/passwords_controller.rb
and refinery/partners/sessions_controller.rb
now you should have everything you need