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) {