Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit 7c90501

Browse files
committed
fix passport login for mac
1 parent a01acd5 commit 7c90501

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

Assets/Shared/Scripts/UI/LevelCompleteScreen.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,7 @@ private async void OnContinueWithPassportButtonClicked()
132132
ShowLoading(true);
133133

134134
// Log into Passport
135-
#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX
136-
await Passport.Instance.LoginPKCE();
137-
#else
138135
await Passport.Instance.Login();
139-
#endif
140136

141137
// Successfully logged in
142138
// Save a persistent flag in the game that the player is logged in

Assets/Shared/Scripts/UI/MainMenu.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ async void OnLogoutButtonClick()
8888
ShowLoading(true);
8989

9090
// Logout
91-
#if (UNITY_ANDROID && !UNITY_EDITOR_WIN) || (UNITY_IPHONE && !UNITY_EDITOR_WIN) || UNITY_STANDALONE_OSX
92-
await passport.LogoutPKCE();
93-
#else
9491
await passport.Logout();
95-
#endif
9692

9793
// Reset the login flag
9894
SaveManager.Instance.IsLoggedIn = false;

0 commit comments

Comments
 (0)