diff --git a/api/account/account.go b/api/account/account.go index 6199b71..e3d4297 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -120,7 +120,7 @@ func (a AccountAPI) login(jc jape.Context) { return } - account.SetAuthCookie(jc, jwt, "") + account.SetAuthCookie(jc, jwt, a.Name()) account.SendJWT(jc, jwt) jc.Encode(&LoginResponse{