fix cookie expiration with tls flag

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-02-28 01:28:16 +01:00
parent 51f808c3f9
commit c3271e1eee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ func (c *User) expireCookieAndStatusOK(g *gin.Context) {
-1,
"/",
"",
false,
true,
true,
)
c.logoutOK(g)
+1 -1
View File
@@ -121,7 +121,7 @@ func (s *Session) validateAndExtendSession(g *gin.Context) (*model.Session, erro
-1,
"/",
"",
false,
true,
true,
)
return nil, errs.Wrap(err)