Saturday, August 18, 2012

[Rails] Migrating users from devise to bcrpyt-ruby

Hi guys,

How would one migrate users on a rails site using the devise gem for authentication to using the bcrpyt-ruby gem(has_secure_password rails option) for the same? I know that both use bcrpyt, but devise has the stretches and pepper configurations in the devise.rb file and I'm a little uninformed on how to translate these for the bcrypt-ruby gem. 

Is the pepper configuration in devise an active configuration when using bcrypt or is that skipped. I know the stretches config is pretty important(that's the same as the workload right?). How would that translate?

Any help will be greatly appreciated.

Thanks Guys,

Regards,
Robert

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Yu19-PkmZ9UJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate