aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guff.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guff.cr b/src/guff.cr
index b6eaa4b..a2e2da5 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -632,7 +632,7 @@ module Guff
response : HTTP::Server::Response,
error : String? = nil
)
- context.response.headers["x-frame-options"] = "SAMEORIGIN"
+ response.headers["x-frame-options"] = "SAMEORIGIN"
response.content_type = "text/html; charset=utf-8"
response.status_code = 200
Views::LoginPageView.new(@context, error).to_s(response)