mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-09 05:47:51 +02:00
fix cookie expiration with tls flag
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -621,7 +621,7 @@ func (c *User) expireCookieAndStatusOK(g *gin.Context) {
|
||||
-1,
|
||||
"/",
|
||||
"",
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
)
|
||||
c.logoutOK(g)
|
||||
|
||||
@@ -121,7 +121,7 @@ func (s *Session) validateAndExtendSession(g *gin.Context) (*model.Session, erro
|
||||
-1,
|
||||
"/",
|
||||
"",
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
)
|
||||
return nil, errs.Wrap(err)
|
||||
|
||||
Reference in New Issue
Block a user