From 9515bc6162ef0cb972a8a49c601939b31196d66b Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:02:01 +0200 Subject: [PATCH] Feat: confirm private key --- .../views/livewire/security/api-tokens.blade.php | 2 +- .../livewire/security/private-key/show.blade.php | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/resources/views/livewire/security/api-tokens.blade.php b/resources/views/livewire/security/api-tokens.blade.php index 16e853c39..48f68d9d7 100644 --- a/resources/views/livewire/security/api-tokens.blade.php +++ b/resources/views/livewire/security/api-tokens.blade.php @@ -61,7 +61,7 @@ isErrorButton buttonTitle="Revoke token" submitAction="revoke({{ data_get($token, 'id') }})" - :actions="['This API Token will be revoked and deleted.', 'Any API call made with this token will fail.']" + :actions="['This API Token will be revoked and permanently deleted.', 'Any API call made with this token will fail.']" confirmationText="{{ $token->name }}" confirmationLabel="Please confirm the execution of the actions by entering the API Token Description below" shortConfirmationLabel="API Token Description" diff --git a/resources/views/livewire/security/private-key/show.blade.php b/resources/views/livewire/security/private-key/show.blade.php index 97def5317..642580fba 100644 --- a/resources/views/livewire/security/private-key/show.blade.php +++ b/resources/views/livewire/security/private-key/show.blade.php @@ -11,9 +11,18 @@ Save @if (data_get($private_key, 'id') > 0) - - This private key will be deleted. It is not reversible.
Please think again. -
+ @endif