Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

delete trial key from gon after mail was confirmed

Inga Maid67bf45afe50
diff --git a/frontend/src/app/components/enterprise/enterprise-trial.service.ts b/frontend/src/app/components/enterprise/enterprise-trial.service.ts
index 32745836ad0..6c7032c1325 100644
--- a/frontend/src/app/components/enterprise/enterprise-trial.service.ts
+++ b/frontend/src/app/components/enterprise/enterprise-trial.service.ts
@@ -81,7 +81,7 @@ export class EnterpriseTrialService {
.then((res:any) => {
// show confirmed status and enable continue btn
this.confirmed = true;
- // TODO: delete user data from gon;
+ // delete trial key from gon after mail was confirmed
(window as any).gon.ee_trial_key = undefined;
// returns token if mail was confirmed