Skip to content

Remove skipAutoLogout mechanism #2154

Description

@matthew-white

Frontend has a route meta field called skipAutoLogout. It is described as follows here:

If true, no alert will be displayed when session is about to expire. Also user will be not be redirected to login page when session has expired.

This was useful when submissions were filled out within Central Frontend, i.e., when Central rendered the Web Forms component, before the addition of the separate Web Forms app. Given the new Web Forms app, I don't think this skipAutoLogout mechanism is used anymore on any of the remaining Central pages.

Given that the mechanism isn't used anymore, I think we can remove it from Frontend. Doing so would reduce code complexity related to login/logout.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frontendRequires a change to the UIrefactorImproves code without altering behavior

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions