refactor: need to pass api name to SetAuthCookie

This commit is contained in:
Derrick Hammer 2024-03-20 17:13:58 -04:00
parent ee8fa2b98d
commit be7a7977ac
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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