refactor: echo the auth cookie back if any exist
This commit is contained in:
parent
66f73d1a53
commit
040c662826
|
@ -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",
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue