From facea33e0eb57ff5c32072d1f007ea0520fa3c70 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 20 Mar 2024 17:28:25 -0400 Subject: [PATCH] fix: need to pass api name --- api/account/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/account/account.go b/api/account/account.go index e3d4297..edca173 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -310,7 +310,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) { } func (a AccountAPI) logout(c jape.Context) { - account.ClearAuthCookie(c, "") + account.ClearAuthCookie(c, a.Name()) } func (a AccountAPI) uploadLimit(c jape.Context) {