update gem bson_ext and devise initializer

This commit is contained in:
chris2tof committed 2011-04-14 13:40:16 +08:00
1 parent 4ed6e8090e
commit d88cae437d
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ Devise.setup do |config|
# from others authentication tools as :clearance_sha1, :authlogic_sha512 (then
# you should set stretches above to 20 for default behavior) and :restful_authentication_sha1
# (then you should set stretches to 10, and copy REST_AUTH_SITE_KEY to pepper)
config.encryptor = :bcrypt
# config.encryptor = :bcrypt
# Setup a pepper to generate the encrypted password.
config.pepper = "a5a6b41c8a259f0642f9e8a51b77f3c671be92a430e021e00f7e0bcc71381c0698d3c3e9c1dc270872a16ed2703715e3b3b817245740bbb871a3411714944dce"