aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guff.cr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/guff.cr b/src/guff.cr
index 503fded..815c983 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -708,6 +708,11 @@ module Guff
http_only: true,
)
+ # build remaining headers
+ context.response.headers["x-frame-options"] = "SAMEORIGIN"
+ context.response.content_type = "text/html; charset=utf-8"
+ context.response.status_code = 200
+
# draw page
Views::LogoutPageView.new(@context).to_s(context.response)
else