Houdini/two_factor_authentication — pull request #4 by VladimirMikhailov (2012-07-13 13:27:20+00:00)
Title: need_two_factor_authentication? method should accept request param.

https://github.com/Houdini/two_factor_authentication/blob/master/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb#L3