Skip to content

Commit

Permalink
fix: sample app passport instance
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Jul 23, 2024
1 parent 5291773 commit fccce30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample/Assets/Scripts/UnauthenticatedScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ private async UniTask Logout()
public void ClearStorageAndCache()
{
#if (UNITY_IPHONE && !UNITY_EDITOR) || (UNITY_ANDROID && !UNITY_EDITOR)
passport.ClearStorage();
passport.ClearCache(true);
Passport.ClearStorage();
Passport.ClearCache(true);

// Show login buttons as saved credentials are removed
ShowLoginButtons();
Expand Down

0 comments on commit fccce30

Please sign in to comment.