Module GoogleAuthenticatorRails::Session::ClassMethods
In: lib/google-authenticator-rails/session/activation.rb
lib/google-authenticator-rails/session/persistence.rb

Methods

Public Instance methods

If the controller isn‘t set, we can‘t use the Sessions. They rely on the session information passed in from ActionController to access the cookies.

Every thread in Passenger handles only a single request at a time, but there can be many threads running. This ensures that when setting the current active controller it only gets set for the current active thread (and doesn‘t mess up any other threads).

[Validate]