diff --git a/apps/web/src/app/auth/settings/two-factor-duo.component.html b/apps/web/src/app/auth/settings/two-factor-duo.component.html
index bf93e668fb5..23ccaf6bde2 100644
--- a/apps/web/src/app/auth/settings/two-factor-duo.component.html
+++ b/apps/web/src/app/auth/settings/two-factor-duo.component.html
@@ -29,9 +29,9 @@
{{ "twoStepLoginProviderEnabled" | i18n }}
- {{ "twoFactorDuoIntegrationKey" | i18n }}: {{ ikey }}
+ {{ "twoFactorDuoClientId" | i18n }}: {{ clientId }}
- {{ "twoFactorDuoSecretKey" | i18n }}: {{ skey }}
+ {{ "twoFactorDuoClientSecret" | i18n }}: {{ clientSecret }}
{{ "twoFactorDuoApiHostname" | i18n }}: {{ host }}
@@ -39,25 +39,25 @@
{{ "twoFactorDuoDesc" | i18n }}
-
+
-
+
;
@@ -59,8 +59,8 @@ export class TwoFactorDuoComponent extends TwoFactorBaseComponent {
protected async enable() {
const request = await this.buildRequestModel(UpdateTwoFactorDuoRequest);
- request.integrationKey = this.ikey;
- request.secretKey = this.skey;
+ request.integrationKey = this.clientId;
+ request.secretKey = this.clientSecret;
request.host = this.host;
return super.enable(async () => {
@@ -78,8 +78,8 @@ export class TwoFactorDuoComponent extends TwoFactorBaseComponent {
}
private processResponse(response: TwoFactorDuoResponse) {
- this.ikey = response.integrationKey;
- this.skey = response.secretKey;
+ this.clientId = response.integrationKey;
+ this.clientSecret = response.secretKey;
this.host = response.host;
this.enabled = response.enabled;
}
diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json
index 650ec4b8e11..3f67df15be7 100644
--- a/apps/web/src/locales/en/messages.json
+++ b/apps/web/src/locales/en/messages.json
@@ -1710,11 +1710,11 @@
"twoFactorDuoDesc": {
"message": "Enter the Bitwarden application information from your Duo Admin panel."
},
- "twoFactorDuoIntegrationKey": {
- "message": "Integration key"
+ "twoFactorDuoClientId": {
+ "message": "Client Id"
},
- "twoFactorDuoSecretKey": {
- "message": "Secret key"
+ "twoFactorDuoClientSecret": {
+ "message": "Client Secret"
},
"twoFactorDuoApiHostname": {
"message": "API hostname"