Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion session_rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (s *sessionRpcServer) resumeSession(ctx context.Context,
log.Debugf("Not resuming session %x with expiry %s",
pubKeyBytes, sess.Expiry)

err := s.cfg.db.ShiftState(sess.ID, session.StateRevoked)
err := s.cfg.db.ShiftState(sess.ID, session.StateExpired)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

if err != nil {
return fmt.Errorf("error revoking session: %v", err)
}
Expand Down