Feat: confirm API token
This commit is contained in:
@@ -56,12 +56,18 @@
|
|||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<x-modal-confirmation isErrorButton action="revoke({{ data_get($token, 'id') }})">
|
<x-modal-confirmation
|
||||||
<x-slot:button-title>
|
title="Confirm API Token Revocation?"
|
||||||
Revoke token
|
isErrorButton
|
||||||
</x-slot:button-title>
|
buttonTitle="Revoke token"
|
||||||
This API Token will be deleted and anything using it will fail. <br>Please think again.
|
submitAction="revoke({{ data_get($token, 'id') }})"
|
||||||
</x-modal-confirmation>
|
:actions="['This API Token will be revoked and 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"
|
||||||
|
:confirmWithPassword="false"
|
||||||
|
step2ButtonText="Revoke API Token"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
@empty
|
@empty
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user