Skip to content

Commit

Permalink
Merge pull request #40 from jjlin/remove-tos
Browse files Browse the repository at this point in the history
Remove Terms of Service and Privacy Policy agreements
  • Loading branch information
dani-garcia authored Jun 19, 2021
2 parents 3fba0d5 + 6c2de6d commit 897374f
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions patches/v2.20.4.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
Submodule jslib contains modified content
diff --git a/jslib/src/angular/components/register.component.ts b/jslib/src/angular/components/register.component.ts
index ae45add..e6a5590 100644
index ae45add..a2ea12b 100644
--- a/jslib/src/angular/components/register.component.ts
+++ b/jslib/src/angular/components/register.component.ts
@@ -69,6 +69,12 @@ export class RegisterComponent {
@@ -24,7 +24,7 @@ export class RegisterComponent {
formPromise: Promise<any>;
masterPasswordScore: number;
referenceData: ReferenceEventRequest;
- showTerms = true;
+ showTerms = false;
acceptPolicies: boolean = false;

protected successRoute = 'login';
@@ -35,7 +35,6 @@ export class RegisterComponent {
protected apiService: ApiService, protected stateService: StateService,
protected platformUtilsService: PlatformUtilsService,
protected passwordGenerationService: PasswordGenerationService) {
- this.showTerms = !platformUtilsService.isSelfHost();
}

get masterPasswordScoreWidth() {
@@ -69,6 +68,12 @@ export class RegisterComponent {
}

async submit() {
Expand Down

0 comments on commit 897374f

Please sign in to comment.