Skip to content

Commit

Permalink
VPN-6320 change default in app auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mcleinman committed Dec 23, 2024
1 parent 679218a commit 6a6e3d7
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions src/feature/featurelistcallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,14 @@ bool FeatureCallback_captivePortal() {
}

bool FeatureCallback_inAppAuthentication() {
#if defined(MZ_WASM)
return true;
#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;
}

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

Expand Down

0 comments on commit 6a6e3d7

Please sign in to comment.