Skip to content

Commit

Permalink
fix: sometime cookie session use suffix as _v2 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgamerr committed Sep 8, 2023
1 parent 2e34f83 commit 619c895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (e *DailyHoyolab) SetCookie(rs []*http.Cookie) {

func (e *DailyHoyolab) IsCookieLogin() bool {
for _, jar := range e.CookieJar {
if jar.Name == "ltoken" {
if jar.Name == "ltoken" || jar.Name == "ltoken_v2" {
return true
}
}
Expand Down

0 comments on commit 619c895

Please sign in to comment.