aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-21 13:35:12 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-21 13:35:12 -0400
commitb49749b64c9c82546150f89de5ec41259fccebdc (patch)
tree13d82624f74820824e099eb4a70479eee0743a55
parent74d07a15b7c7877346c6267fc1803d2774d99f9d (diff)
downloadguff-b49749b64c9c82546150f89de5ec41259fccebdc.tar.bz2
guff-b49749b64c9c82546150f89de5ec41259fccebdc.zip
fix x-frame-options call
-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)