refactor: switch to account.SetAuthCookie
This commit is contained in:
parent
244aa89d71
commit
107118febc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue