From 8901b02a59ec24cdfd09cc5fb9c96a7cebe33d31 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 23 Apr 2015 13:27:20 +0100 Subject: 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. --- app/controllers/application_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/application_controller.rb') 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 -- cgit v1.2.3