diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Unify the docs, samples and extensions
Diffstat (limited to 'custom/extensions/auth-file.lua')
-rw-r--r--custom/extensions/auth-file.lua2
1 file changed, 1 insertion, 1 deletion
diff --git a/custom/extensions/auth-file.lua b/custom/extensions/auth-file.lua
index 230aa6d..3d426e9 100644
--- a/custom/extensions/auth-file.lua
+++ b/custom/extensions/auth-file.lua
@@ -405,7 +405,7 @@ function set_cookie(cookie, value)
end
function redirect_to(url)
- html("Status: 302 Redirect\n")
+ html("Status: 302 Found\n")
html("Cache-Control: no-cache, no-store\n")
html("Location: " .. strip_controls(url) .. "\n")
end