Skip to content

Commit 2152c91

Browse files
authored
Clear in memory hosted ui userId after signout (#3168)
1 parent 7b8480c commit 2152c91

File tree

1 file changed

+1
-0
lines changed
  • aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth

1 file changed

+1
-0
lines changed

aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth/AuthClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ public void signOut(final boolean clearLocalTokensOnly, final String browserPack
340340

341341
// Delete local cache
342342
LocalDataManager.clearCache(pool.awsKeyValueStore, context, pool.getAppId(), userId);
343+
userId = null;
343344
}
344345

345346
/**

0 commit comments

Comments
 (0)