diff --git a/jslib b/jslib index 76c09641ba..5e50aa1a19 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 76c09641ba8ef6cdbf74977a7a719b9aa099edb7 +Subproject commit 5e50aa1a195bde11fdc14e9bdf71542766fdbb8d diff --git a/src/app/accounts/register.component.html b/src/app/accounts/register.component.html index 4dc417e123..a2474bd19d 100644 --- a/src/app/accounts/register.component.html +++ b/src/app/accounts/register.component.html @@ -25,8 +25,8 @@
- "Bitwarden has become a popular choice among open-source software advocates. After using it for a - few months, I can see why." - February 2020 + "Bitwarden has become a popular choice among open-source software advocates. After using + it for a few months, I can see why." - February 2020
@@ -44,14 +44,15 @@

{{'createAccount' | i18n}}

- + {{'createOrganizationCreatePersonalAccount' | i18n}}
+ required [appAutofocus]="email === ''" inputmode="email" + appInputVerbatim="false"> {{'emailAddressDesc' | i18n}}
@@ -120,6 +121,19 @@ {{'masterPassHintDesc' | i18n}}
+
+
+ + +
+

- - {{'submitAgreePolicies' | i18n}} - {{'termsOfService' | i18n}}, - {{'privacyPolicy' | i18n}} -
diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts index 1dc0460bc9..f19c616648 100644 --- a/src/app/accounts/register.component.ts +++ b/src/app/accounts/register.component.ts @@ -27,7 +27,6 @@ import { ReferenceEventRequest } from 'jslib/models/request/referenceEventReques }) export class RegisterComponent extends BaseRegisterComponent { showCreateOrgMessage = false; - showTerms = true; layout = ''; enforcedPolicyOptions: MasterPasswordPolicyOptions; @@ -40,7 +39,6 @@ export class RegisterComponent extends BaseRegisterComponent { passwordGenerationService: PasswordGenerationService, private policyService: PolicyService) { super(authService, router, i18nService, cryptoService, apiService, stateService, platformUtilsService, passwordGenerationService); - this.showTerms = !platformUtilsService.isSelfHost(); } getPasswordScoreAlertDisplay() { diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 9b158d309e..819886adf5 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -2810,9 +2810,11 @@ "nothingSelected": { "message": "You have not selected anything." }, - "submitAgreePolicies": { - "message": "By clicking the \"Submit\" button, you agree to the following policies:", - "description": "A policy is something like Terms of Service, Privacy Policy, etc." + "acceptPolicies": { + "message": "By checking this box you agree to the following:" + }, + "acceptPoliciesError": { + "message": "Terms of Service and Privacy Policy have not been acknowledged." }, "termsOfService": { "message": "Terms of Service"