Skip to content

Commit

Permalink
Turn the waitlist on if you’re an internal user.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Nov 16, 2023
1 parent e31ad36 commit fca95b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DuckDuckGo/VPNWaitlist.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ final class VPNWaitlist: Waitlist {

let hasWaitlistAccess = privacyConfigurationManager.privacyConfig.isSubfeatureEnabled(NetworkProtectionSubfeature.waitlist)
let isWaitlistActive = privacyConfigurationManager.privacyConfig.isSubfeatureEnabled(NetworkProtectionSubfeature.waitlistBetaActive)
isFeatureEnabled = hasWaitlistAccess && isWaitlistActive
let internalUser = InternalUserStore()
isFeatureEnabled = (hasWaitlistAccess && isWaitlistActive) || internalUser.isInternalUser
}

convenience init(store: WaitlistStorage, request: WaitlistRequest) {
Expand Down

0 comments on commit fca95b7

Please sign in to comment.