Skip to content

Commit

Permalink
feat: remove specific key type in git based ssh (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt authored Sep 26, 2024
1 parent 4e815e7 commit ee2d3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/partials/CreateGitCredentialModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ defineExpose({
<!-- Private Key Field -->
<div class="mt-4" v-if="newGitCredential.type === 'ssh'">
<label class="block text-sm font-medium text-gray-700" for="ssh_private_key">
ED25519 Private Key (In OpenSSH Format)
Private Key (In OpenSSH Format)
</label>
<p class="mt-1 text-sm text-gray-500">
<b class="text-danger-500">NOTE:</b> Leave the input blank if you like to auto-generate the private key
Expand All @@ -165,7 +165,7 @@ defineExpose({
id="ssh_private_key"
v-model="newGitCredential.sshPrivateKey"
class="block w-full rounded-md border-gray-300 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm"
placeholder="ECDSA Private Key (In OpenSSH Format)"
placeholder="Private Key (In OpenSSH Format)"
type="text"
rows="5" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/partials/UpdateGitCredentialModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ onGitCredentialUpdateSuccess(() => {
<!-- Private Key Field -->
<div class="mt-4" v-if="gitCredentialDetails.type === 'ssh'">
<label class="block text-sm font-medium text-gray-700" for="ssh_private_key">
ED25519 Private Key (In OpenSSH Format)
Private Key (In OpenSSH Format)
</label>
<p class="mt-1 text-sm text-gray-500">Leave the input blank to keep the existing private key</p>
<div class="mt-2">
<textarea
id="ssh_private_key"
v-model="gitCredentialDetails.sshPrivateKey"
class="block w-full rounded-md border-gray-300 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm"
placeholder="ECDSA Private Key (In OpenSSH Format)"
placeholder="Private Key (In OpenSSH Format)"
type="text"
rows="5" />
</div>
Expand Down

0 comments on commit ee2d3ad

Please sign in to comment.