From 2676f9a8db0f45468bef90c7d7af4ec1cc52c4bb Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:09:54 +0100 Subject: [PATCH] fix disable 2 stp confirmation UI --- .../views/livewire/settings/index.blade.php | 56 +++++++++++-------- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/resources/views/livewire/settings/index.blade.php b/resources/views/livewire/settings/index.blade.php index 193156bf0..7ab92d9c1 100644 --- a/resources/views/livewire/settings/index.blade.php +++ b/resources/views/livewire/settings/index.blade.php @@ -130,29 +130,39 @@

Confirmation Settings

- @if ($disable_two_step_confirmation) -
- +
+ + +
+ @if ($disable_two_step_confirmation) +
+ +
+ @else +
+ +
+
+

Warning!

+

Disabling two step confirmation reduces security (as anyone can easily delete anything) and increases + the risk of accidental actions. This is not recommended for production servers.

+
+ @endif
- @else -
- -
-
-

Warning!

-

Disabling two step confirmation reduces security (as anyone can easily delete anything) and increases - the - risk of accidental actions. This is not recommended for production servers.

-
- @endif +