changing default behavior to NOT check IP address of session
Jonathan Rockway [Wed, 18 Oct 2006 19:05:29 +0000 (19:05 +0000)]
lib/Catalyst/Plugin/Session.pm

index d8ce67e..d4a4517 100644 (file)
@@ -68,7 +68,7 @@ sub setup_session {
 
     %$cfg = (
         expires        => 7200,
-        verify_address => 1,
+        verify_address => 0,
         %$cfg,
     );
 
@@ -862,6 +862,8 @@ hours).
 When true, C<<$c->request->address>> will be checked at prepare time. If it is
 not the same as the address that initiated the session, the session is deleted.
 
+Defaults to false.
+
 =item flash_to_stash
 
 This option makes it easier to have actions behave the same whether they were