feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic
This commit is contained in:
@@ -23,11 +23,15 @@
|
||||
'dispatchEventType' => 'success',
|
||||
'dispatchEventMessage' => '',
|
||||
'ignoreWire' => true,
|
||||
'temporaryDisableTwoStepConfirmation' => false,
|
||||
])
|
||||
|
||||
@php
|
||||
use App\Models\InstanceSettings;
|
||||
$disableTwoStepConfirmation = data_get(InstanceSettings::get(), 'disable_two_step_confirmation');
|
||||
if ($temporaryDisableTwoStepConfirmation) {
|
||||
$disableTwoStepConfirmation = false;
|
||||
}
|
||||
@endphp
|
||||
|
||||
<div {{ $ignoreWire ? 'wire:ignore' : '' }} x-data="{
|
||||
@@ -262,7 +266,7 @@
|
||||
{{ $shortConfirmationLabel }}
|
||||
</label>
|
||||
<input type="text" x-model="userConfirmationText"
|
||||
class="p-2 mt-1 w-full text-black rounded-sm input">
|
||||
class="p-2 mt-1 px-3 w-full rounded-sm input">
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user