Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixes issues #260

  • Loading branch information...
commit 41eba3daa84503f9634ff69940ce718b87b8a521 1 parent 594f4f4
Stephen Prater authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/authlogic/session/foundation.rb
4  lib/authlogic/session/foundation.rb
@@ -19,7 +19,7 @@ module ClassMethods
19 19
           def rw_config(key, value, default_value = nil, read_value = nil)
20 20
             if value == read_value
21 21
               return acts_as_authentic_config[key] if acts_as_authentic_config.include?(key)
22  
-              rw_config(key, default_value)
  22
+              rw_config(key, default_value) unless default_value.nil?
23 23
             else
24 24
               config = acts_as_authentic_config.clone
25 25
               config[key] = value
@@ -74,4 +74,4 @@ def build_key(last_part)
74 74
       end
75 75
     end
76 76
   end
77  
-end
  77
+end

0 notes on commit 41eba3d

Please sign in to comment.
Something went wrong with that request. Please try again.