Skip to content
Browse files

updating gem version

  • Loading branch information...
1 parent 9d91bff commit 55a0931150d5c4747de36b8b438caee274ea7571 @NoamB committed Apr 21, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Gemfile
  2. +2 −2 config/initializers/sorcery.rb
View
2 Gemfile
@@ -10,7 +10,7 @@ gem 'mysql2'
# Bundle the extra gems:
-gem 'sorcery', '0.3.1'
+gem 'sorcery', '0.4.1'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
View
4 config/initializers/sorcery.rb
@@ -1,6 +1,6 @@
-Collaboration::Application.config.sorcery.submodules = [:user_activation, :http_basic_auth, :remember_me, :reset_password, :session_timeout, :brute_force_protection, :activity_logging, :external]
+Rails.application.config.sorcery.submodules = [:user_activation, :http_basic_auth, :remember_me, :reset_password, :session_timeout, :brute_force_protection, :activity_logging, :external]
-Collaboration::Application.config.sorcery.configure do |config|
+Rails.application.config.sorcery.configure do |config|
config.session_timeout = 10.minutes
config.session_timeout_from_last_action = false

0 comments on commit 55a0931

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