Skip to content

Remove skipAutoLogout route meta field - #1890

Merged
matthew-white merged 1 commit into
masterfrom
rm-skip-logout
Sep 12, 2026
Merged

matthew-white merged 1 commit into
masterfrom
rm-skip-logout

Conversation

@matthew-white

@matthew-white matthew-white commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Closes getodk/central#2154.

What has been done to verify that this works as intended?

Tests continue to pass.

There was discussion on the issue that this mechanism is no longer needed.

Why is this the best possible solution? Were any other approaches considered?

I searched the codebase for skipAutoLogout and removed the associated code.

If we ever need this mechanism again in the future, we can always add it back and revert this PR.

How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?

I think the risk of regression is probably low given (1) the minimal code changes and (2) the fact that skipAutoLogout is no longer used. However, given the importance of the code in src/util/session.js, I'm thinking I probably won't merge this PR until after regression testing is complete. In other words, this PR is intended for v2026.4, not v2026.3.

@changeset-bot

This comment was marked as resolved.

@sadiqkhoja sadiqkhoja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to me

@matthew-white
matthew-white merged commit b0e663e into master Sep 12, 2026
52 checks passed
@matthew-white
matthew-white deleted the rm-skip-logout branch September 12, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove skipAutoLogout mechanism

2 participants