diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index ef6c477f2..a0175c1a1 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -22,18 +22,23 @@ 'dispatchEventMessage' => '', ]) +@php + $settings = instanceSettings(); + $disableTwoStepConfirmation = $settings->disable_two_step_confirmation ?? false; +@endphp +
{{ $confirmationLabel }}
-{{ $confirmationLabel }}
+Final Confirmation
-Please enter your password to confirm this destructive action.
+ @if (!$disableTwoStepConfirmation) +Final Confirmation
+Please enter your password to confirm this destructive action.
+{{ $message }}
+ @enderror +{{ $message }}
- @enderror -