Skip to content

Commit

Permalink
Don't unactivate if userID reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Aug 27, 2023
1 parent c649494 commit 2a5f13b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ waitFor(() => Config.isReady()).then(() => {
const paywallEnabled = !CompileConfig["freeAccess"]
&& !navigator.userAgent.includes("Mobile;")
&& await isPaywallEnabled()
&& !groupPolicyLicenseKey;
&& !groupPolicyLicenseKey
&& !Config.config!.licenseKey;
if (paywallEnabled) {
Config.config!.activated = false;
Config.config!.showActivatedMessage = true;
Expand Down

0 comments on commit 2a5f13b

Please sign in to comment.