From 107118febc97cd82f12234d47b992d74820a0bc6 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 17 Mar 2024 09:09:57 -0400 Subject: [PATCH] refactor: switch to account.SetAuthCookie --- api/s5/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/s5/s5.go b/api/s5/s5.go index 320eb5c..c09f28d 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -641,7 +641,7 @@ func (s *S5API) accountRegister(jc jape.Context) { return } - setAuthCookie(jwt, jc) + account.SetAuthCookie(jc, jwt, s.Name()) } func (s *S5API) accountLoginChallenge(jc jape.Context) {