Skip to content

Commit

Permalink
Add comments explaining bitwarden token
Browse files Browse the repository at this point in the history
  • Loading branch information
THISISDINOSAUR committed Nov 5, 2024
1 parent 0a19577 commit 93e0773
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public final class DataBrokerProtectionSubscriptionManager: DataBrokerProtection

public var accessToken: String? {
// We use a staging token for privacy pro supplied through a github secret/action
// for PIR end to end tests
// for PIR end to end tests. This is also stored in bitwarden if you want to run
// the tests locally
if NSApplication.runType == .integrationTests, let token = ProcessInfo.processInfo.environment["PRIVACYPRO_STAGING_TOKEN"] {
return token
}
Expand Down

0 comments on commit 93e0773

Please sign in to comment.