Skip to content

Commit

Permalink
fix: change expire date
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanna-Neko committed Nov 27, 2022
1 parent 7d1bf01 commit adb62c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion link/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func loginAgain() {
viper.Set("cookie.JSESSIONID", val.Value)
}
}
viper.Set("cookie.expire", time.Now().AddDate(0, 0, 6).Unix())
viper.Set("cookie.expire", time.Now().AddDate(0, 0, 1).Unix())
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit adb62c8

Please sign in to comment.