refactor: switch to account.SetAuthCookie

This commit is contained in:
Derrick Hammer 2024-03-17 09:09:57 -04:00
parent 244aa89d71
commit 107118febc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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