Skip to content

Commit 26e367f

Browse files
kristofnemereclaude
andcommitted
[MBL-19940][Student] Fix users being logged out in multi-view mode
When entering split-screen/multi-window mode, the app fetched environment feature flags with shouldIgnoreToken = true, which caused the auth system to invalidate the session and log the user out. Removing that flag ensures the request is made with the proper auth token. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9ecc1dc commit 26e367f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/pandautils/src/main/java/com/instructure/pandautils/utils/FeatureFlagProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class FeatureFlagProvider(
4545
}
4646

4747
suspend fun fetchEnvironmentFeatureFlags() {
48-
val restParams = RestParams(isForceReadFromNetwork = true, shouldIgnoreToken = true)
48+
val restParams = RestParams(isForceReadFromNetwork = true)
4949
val featureFlags = featuresApi.getEnvironmentFeatureFlags(restParams).dataOrNull ?: return
5050
apiPrefs.user?.id?.let {
5151
environmentFeatureFlags.insert(EnvironmentFeatureFlags(it, featureFlags))

0 commit comments

Comments
 (0)