Fix: cookie timeout
All checks were successful
All checks were successful
This commit is contained in:
@@ -62,7 +62,8 @@ func (self *Handlers) CheckRefreshToken(
|
||||
Name: "refresh_token",
|
||||
Value: session.RefreshToken,
|
||||
Path: "/",
|
||||
Secure: false,
|
||||
Secure: viper.GetBool("https"),
|
||||
Expires: claim.ExpiresAt.Time,
|
||||
HttpOnly: true,
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user