Revert "refactor: change ClearAuthCookie to set value to deleted"
This reverts commit ac61279081
.
This commit is contained in:
parent
6ac37cfe65
commit
ce93591ff8
|
@ -172,7 +172,7 @@ func ClearAuthCookie(jc jape.Context, apiName string) {
|
|||
|
||||
http.SetCookie(jc.ResponseWriter, &http.Cookie{
|
||||
Name: routeableApi.AuthTokenName(),
|
||||
Value: "deleted",
|
||||
Value: "",
|
||||
Expires: time.Date(1970, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
Secure: true,
|
||||
HttpOnly: true,
|
||||
|
|
Loading…
Reference in New Issue