Browse files

Merge branch 'master' of

  • Loading branch information...
2 parents 1ba948e + 582d069 commit de14f3b31d1393426bf6e620585322843537bd51 @binarylogic binarylogic committed May 9, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/authlogic/acts_as_authentic/restful_authentication.rb
@@ -26,7 +26,8 @@ def act_like_restful_authentication(value = nil)
# This works just like act_like_restful_authentication except that it will start transitioning your users to the algorithm you
# specify with the crypto provider option. The next time they log in it will resave their password with the new algorithm
- # and any new record will use the new algorithm as well.
+ # and any new record will use the new algorithm as well. Make sure to update your users table if you are using the default
+ # migration since it will set crypted_password and salt columns to a maximum width of 40 characters which is not enough.
def transition_from_restful_authentication(value = nil)
r = rw_config(:transition_from_restful_authentication, value, false)
set_restful_authentication_config if value

0 comments on commit de14f3b

Please sign in to comment.