diff --git a/helpers.lua b/helpers.lua index 91a31c8..c6bf93c 100644 --- a/helpers.lua +++ b/helpers.lua @@ -177,7 +177,7 @@ function set_auth_cookie(user, domain) "; Expires="..os.date("%a, %d %b %Y %X UTC", expire).. "; Secure".. "; HttpOnly".. - "; SameSite=Lax ;;" + "; SameSite=Lax" ngx.header["Set-Cookie"] = { "SSOwAuthUser="..user..cookie_str, @@ -197,7 +197,7 @@ function delete_cookie() "; Expires="..expired_time.. "; Secure".. "; HttpOnly".. - "; SameSite=Lax ;;" + "; SameSite=Lax" ngx.header["Set-Cookie"] = { "SSOwAuthUser="..cookie_str, "SSOwAuthHash="..cookie_str,