Skip to content

Commit 0f01b86

Browse files
committed
fix: typo and empty fields
1 parent c413ac2 commit 0f01b86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/csr-generator/csr-generator.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function generateCSR(config: {
5757
}, {
5858
name: 'emailAddress',
5959
value: config.contactEmail,
60-
}].filter(attr => attr.value));
60+
}].filter(attr => attr.value !== null && attr.value?.trim() !== ''));
6161

6262
// sign certification request
6363
csr.sign(privateKey);

src/tools/csr-generator/csr-generator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const [certs, refreshCerts] = computedRefreshableAsync(
158158

159159
<div v-if="commonNameValidation.isValid">
160160
<div>
161-
<h3>Certifacate Signing Request</h3>
161+
<h3>Certificate Signing Request</h3>
162162
<TextareaCopyable :value="certs.csrPem" />
163163
</div>
164164

0 commit comments

Comments
 (0)