diff --git a/addons/api/mirage/generated/factories/auth-method.js b/addons/api/mirage/generated/factories/auth-method.js
index 67bfb4196..72d7b758a 100644
--- a/addons/api/mirage/generated/factories/auth-method.js
+++ b/addons/api/mirage/generated/factories/auth-method.js
@@ -50,10 +50,10 @@ export default Factory.extend({
urls: [`ldap://${faker.internet.domainName()}`],
certificates: [faker.random.alphaNumeric(50)],
client_certificate: faker.random.alphaNumeric(50),
- certificate_key: `---Begin Certificate --- ${faker.random.alphaNumeric(
+ client_certificate_key: `---Begin Certificate --- ${faker.random.alphaNumeric(
170
)} ---End Certificate ---`,
- certificate_key_hmac: faker.random.alphaNumeric(50),
+ client_certificate_key_hmac: faker.random.alphaNumeric(50),
enable_groups: true,
start_tls: false,
insecure_tls: false,
diff --git a/ui/admin/app/components/form/auth-method/ldap/index.hbs b/ui/admin/app/components/form/auth-method/ldap/index.hbs
index ca40e6a7f..b768bf466 100644
--- a/ui/admin/app/components/form/auth-method/ldap/index.hbs
+++ b/ui/admin/app/components/form/auth-method/ldap/index.hbs
@@ -160,30 +160,32 @@
{{/if}}
-
- {{t
- 'resources.auth-method.form.client_certificate.label'
- }}
- {{t
- 'resources.auth-method.form.client_certificate.help'
- }}
- {{#if @model.errors.client_certificate}}
-
- {{#each @model.errors.client_certificate as |error|}}
- {{error.message}}
- {{/each}}
-
- {{/if}}
-
-
{{#if @model.isNew}}
+
+
+ {{t 'resources.auth-method.form.client_certificate.label'}}
+
+
+ {{t 'resources.auth-method.form.client_certificate.help'}}
+
+ {{#if @model.errors.client_certificate}}
+
+ {{#each @model.errors.client_certificate as |error|}}
+ {{error.message}}
+ {{/each}}
+
+ {{/if}}
+
+
- {{t
- 'resources.auth-method.form.client_certificate_key.label'
- }}
- {{t
- 'resources.auth-method.form.client_certificate_key.help'
- }}
+
+ {{t 'resources.auth-method.form.client_certificate_key.label'}}
+
+
+ {{t 'resources.auth-method.form.client_certificate_key.help'}}
+
{{#if @model.errors.client_certificate_key}}
{{#each @model.errors.client_certificate_key as |error|}}
@@ -278,9 +280,9 @@
as |F|
>
{{t 'resources.auth-method.form.bind_password.label'}}
- {{t
- 'resources.auth-method.form.bind_password.help'
- }}
+
+ {{t 'resources.auth-method.form.bind_password.help'}}
+
{{#if @model.errors.bind_password}}
{{#each @model.errors.bind_password as |error|}}