From 040c662826a0b08f86e3ea1ef2311e302e5ffb9e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 18 Mar 2024 17:03:17 -0400 Subject: [PATCH] refactor: echo the auth cookie back if any exist --- api/account/account.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/account/account.go b/api/account/account.go index afa5c1e..e68222f 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -287,6 +287,7 @@ func (a AccountAPI) passwordResetConfirm(jc jape.Context) { } func (a AccountAPI) ping(jc jape.Context) { + account.EchoAuthCookie(jc, a.Name()) jc.Encode(&PongResponse{ Ping: "pong", })