Permalink
Browse files

Use 64 characters for session id in DM session model. Merb auth likes…

… it that way.
  • Loading branch information...
1 parent e657607 commit 45531b50194ac39b7820a5a73424d89674757b5a @michaelklishin michaelklishin committed Oct 12, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 merb_datamapper/lib/merb/session/data_mapper_session.rb
View
2 merb_datamapper/lib/merb/session/data_mapper_session.rb
@@ -7,7 +7,7 @@ class DataMapperSessionStore
table_name = Merb::Plugins.config[:merb_datamapper][:session_storage_name] || 'sessions'
storage_names[default_repository_name] = table_name
- property :session_id, String, :size => 32, :nullable => false, :key => true
+ property :session_id, String, :size => 64, :nullable => false, :key => true
property :data, Object, :default => {}, :lazy => false
property :created_at, DateTime, :default => Proc.new { |r, p| DateTime.now }

0 comments on commit 45531b5

Please sign in to comment.