fix: use account.SetAuthCookie
This commit is contained in:
parent
d893216831
commit
9306051812
|
@ -742,7 +742,7 @@ func (s *S5API) accountLogin(jc jape.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
setAuthCookie(jwt, jc)
|
account.SetAuthCookie(jc, jwt, s.Name())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *S5API) accountInfo(jc jape.Context) {
|
func (s *S5API) accountInfo(jc jape.Context) {
|
||||||
|
|
Loading…
Reference in New Issue