Remove all ;; in Set-Cookie

This commit is contained in:
SilverViper 2020-04-30 15:45:41 +02:00 committed by GitHub
parent e0a66428ea
commit e4b415a64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,