Skip to content

Clicking on Terms of Service when offline triggers logout #3763

@andreia-ferreira

Description

@andreia-ferreira

When using the app offline, clicking on 'Terms of Service' in the sidebar, immediately logs out the user. This can lead to serious and unexpected data loss, as logging out clears local data such as surveys, submission data, and offline imagery.

Screen_recording_20260602_155346.webm

Reported by @jo-spek in the latest release. This seems to be existing behavior for some time, when the ToS fail to load, an error toast is displayed and the user is promptly logged out. The app should display the connectivity error in this case, without logging the user out.

Metadata

Metadata

Labels

type: bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions