Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… it that way.
  • Loading branch information...
commit 45531b50194ac39b7820a5a73424d89674757b5a 1 parent e657607
@michaelklishin michaelklishin authored
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 }
Please sign in to comment.
Something went wrong with that request. Please try again.