aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-04-23 13:27:20 +0100
committerLouise Crow <louise.crow@gmail.com>2015-04-23 13:27:20 +0100
commit8901b02a59ec24cdfd09cc5fb9c96a7cebe33d31 (patch)
treec6e507684e6a432e52f1063788a1ff5bf18bd410 /app/controllers/application_controller.rb
parent6d8960d7cd5e736fa75ca9734145f63dea04619c (diff)
Don't redirect to signin on expiration of a non remember-me session
In practice, it's just confusing if you've been away from the site.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 044f8e10f..e80c6a823 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -132,7 +132,6 @@ class ApplicationController < ActionController::Base
def validate_session_timestamp
if session[:user_id] && session.key?(:ttl) && session[:ttl] < SESSION_TTL.ago
clear_session_credentials
- redirect_to signin_path
end
end