Note to self: using Ruby On Rails’ SaltedHashLoginGenerator is a lot easier with the following line added to user_controller below the class declaration:
before_filter :login_required, :only => [:welcome, :change_password]
Without that, the thing seems to want to authenticate everything, even account validation clicks from an email, which you’re obviously not logged in for.
Technorati Tags: Ruby On Rails, SaltedHashLoginGenerator
Post a Comment