binarylogic/authlogic — pull request #285 by tiegz (2011-10-17 19:12:47+00:00)
Title: Fixing Authlogic::Session::Callbacks for rails 3

I noticed this week that in 3.0.3 of Authlogic (w/Rails 3), the whole "persist" callback chain is run thru always, ignoring the callbacks that should halt the chain (someone also reported this a year ago: https://github.com/binarylogic/authlogic/issues/194).

This patch implements CallbacksTest in Authlogic and ensures that persistence callbacks that return true will halt the persist callback chain.