From 3d3c4ae6b345c911707a025d77ba53f3cbf19bc5 Mon Sep 17 00:00:00 2001 From: wout Date: Fri, 12 Jun 2020 08:48:19 +0100 Subject: [PATCH] Remove FlashHandler and SessionHandler. --- src/web_app_skeleton/src/app_server.cr.ecr | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/web_app_skeleton/src/app_server.cr.ecr b/src/web_app_skeleton/src/app_server.cr.ecr index cab57f06..091b5b98 100644 --- a/src/web_app_skeleton/src/app_server.cr.ecr +++ b/src/web_app_skeleton/src/app_server.cr.ecr @@ -6,14 +6,6 @@ class AppServer < Lucky::BaseAppServer Lucky::ForceSSLHandler.new, Lucky::HttpMethodOverrideHandler.new, Lucky::LogHandler.new, - <%- if browser? -%> - Lucky::SessionHandler.new, - Lucky::FlashHandler.new, - <%- else %> - # Disabled in API mode, but can be enabled if you need them: - # Lucky::SessionHandler.new, - # Lucky::FlashHandler.new, - <%- end -%> Lucky::ErrorHandler.new(action: Errors::Show), Lucky::RemoteIpHandler.new, Lucky::RouteHandler.new,