lib/authn/session.rb in authn-2.0.1 vs lib/authn/session.rb in authn-2.4.0

- old
+ new

@@ -19,10 +19,10 @@ klass = find_instance_klass klass unless instance destroy_session klass end def current_user(klass = AuthN.config.account_klass) - @current_user ||= get_session klass_as_name klass + @current_user ||= get_session klass_as_name find_instance_klass klass end alias_method :current_account, :current_user private