lib/authgasm/session/config.rb in authgasm-0.10.0 vs lib/authgasm/session/config.rb in authgasm-0.10.1

- old
+ new

@@ -134,13 +134,13 @@ end attr_writer :remember_token_field # Works exactly like cookie_key, but for sessions. See cookie_key for more info. # - # * <tt>Default:</tt> :#{klass_name.underscore}_id + # * <tt>Default:</tt> cookie_key # * <tt>Accepts:</tt> Symbol or String def session_key - @session_key ||= "#{klass_name.underscore}_id".to_sym + @session_key ||= cookie_key end attr_writer :session_key # The name of the method in your model used to verify the password. This should be an instance method. It should also be prepared to accept a raw password and a crytped password. # \ No newline at end of file