lib/simple_auth/session.rb in simple_auth-0.1.0 vs lib/simple_auth/session.rb in simple_auth-0.1.1

- old
+ new

@@ -61,9 +61,11 @@ controller.instance_variable_set("@current_session", nil) true end def initialize(options = {}) + options ||= {} + @credential = options[:credential] @password = options[:password] @controller = SimpleAuth::Config.controller @model = SimpleAuth::Config.model_class @errors = Errors.new