[ ] π Documentation (updates to the documentation, readme or JSdoc annotations)
[x] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
The enableOnWindowFocus feature should not be triggered on pages that are accessible to unauthenticated users. Currently, when a user switches back to a tab containing an unauthenticated page (such as the login page of us), the refresh mechanism is still executed, which is unnecessary and potentially problematic.
This pull request addresses that issue by ensuring that the enableOnWindowFocus feature is only executed when the user is in an authenticated state. This change prevents unnecessary refreshes on unauthenticated pages and eliminates potential problems associated with triggering the refresh mechanism on pages accessible to unauthenticated users.
π Linked issue
834
β Type of change
π Description
The enableOnWindowFocus feature should not be triggered on pages that are accessible to unauthenticated users. Currently, when a user switches back to a tab containing an unauthenticated page (such as the login page of us), the refresh mechanism is still executed, which is unnecessary and potentially problematic. This pull request addresses that issue by ensuring that the enableOnWindowFocus feature is only executed when the user is in an authenticated state. This change prevents unnecessary refreshes on unauthenticated pages and eliminates potential problems associated with triggering the refresh mechanism on pages accessible to unauthenticated users.
π Checklist