mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-20 03:53:36 +02:00
Fixed session expiration
This commit is contained in:
@@ -43,9 +43,7 @@ func removeSession(user User) {
|
||||
break
|
||||
}
|
||||
}
|
||||
fmt.Println(SESSIONS)
|
||||
SESSIONS[index] = SESSIONS[sessLen-1]
|
||||
SESSIONS[sessLen-1] = Session{}
|
||||
SESSIONS = SESSIONS[:sessLen-1]
|
||||
fmt.Println(SESSIONS)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user