From b49749b64c9c82546150f89de5ec41259fccebdc Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 21 May 2016 13:35:12 -0400 Subject: fix x-frame-options call --- src/guff.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guff.cr') 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) -- cgit v1.2.3