diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 26b5029df..474524bbd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -105,7 +105,7 @@ class ApplicationController < ActionController::Base return if request.method == 'GET' || request.method == 'OPTIONS' # only update if needed - return if session[:check_user_device_at] && session[:check_user_device_at] < Time.zone.now - 10.minutes + return if session[:check_user_device_at] && session[:check_user_device_at] < Time.zone.now - 5.minutes session[:check_user_device_at] = Time.zone.now UserDevice.add(