diff --git a/Assets/Shared/Scripts/UI/LevelCompleteScreen.cs b/Assets/Shared/Scripts/UI/LevelCompleteScreen.cs index 52636c51..478250c3 100644 --- a/Assets/Shared/Scripts/UI/LevelCompleteScreen.cs +++ b/Assets/Shared/Scripts/UI/LevelCompleteScreen.cs @@ -132,11 +132,7 @@ private async void OnContinueWithPassportButtonClicked() ShowLoading(true); // Log into Passport -#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX - await Passport.Instance.LoginPKCE(); -#else await Passport.Instance.Login(); -#endif // Successfully logged in // Save a persistent flag in the game that the player is logged in diff --git a/Assets/Shared/Scripts/UI/MainMenu.cs b/Assets/Shared/Scripts/UI/MainMenu.cs index 60fc876b..62e1d525 100644 --- a/Assets/Shared/Scripts/UI/MainMenu.cs +++ b/Assets/Shared/Scripts/UI/MainMenu.cs @@ -88,11 +88,7 @@ async void OnLogoutButtonClick() ShowLoading(true); // Logout -#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX - await passport.LogoutPKCE(); -#else await passport.Logout(); -#endif // Reset the login flag SaveManager.Instance.IsLoggedIn = false;