Skip to content

Commit

Permalink
fix: test error
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuxia211 committed Dec 7, 2024
1 parent f3cc358 commit 1dcbfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (s *Student) Login() error {
data := regexp.MustCompile(`id=(.*?)&`).FindStringSubmatch(err.Error())

if len(data) < 1 {
return errno.GetIdentifierFailedError
return errno.CookieExpiredError
}

s.SetIdentifier(data[1])
Expand Down

0 comments on commit 1dcbfb7

Please sign in to comment.