Skip to content

Commit

Permalink
VPN-6320 change default in app auth (#10151)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcleinman authored Jan 10, 2025
1 parent a24fcd5 commit 17416b6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/feature/featurelistcallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,13 @@ bool FeatureCallback_captivePortal() {
}

bool FeatureCallback_inAppAuthentication() {
#if defined(MZ_WASM)
#if defined(MZ_WINDOWS)
// Windows: InAppAuth for prod, web auth for staging
return Constants::inProduction();
#elif defined(MZ_ANDROID) || defined(MZ_IOS) || defined(MZ_WASM)
return true;
#else
if (Constants::inProduction() || byPlatform({
.android = true,
.ios = true,
})()) {
return true;
}

// macOS and Linux
return false;
#endif
}
Expand Down

0 comments on commit 17416b6

Please sign in to comment.