diff --git a/lang/de/terminal.php b/lang/de/terminal.php index 5b2270e..20458ee 100644 --- a/lang/de/terminal.php +++ b/lang/de/terminal.php @@ -37,6 +37,7 @@ return [ 'host_field_key' => 'Privater SSH-Key', 'host_field_passphrase' => 'Passphrase (optional)', 'host_secret_keep' => 'Leer lassen, um das gespeicherte Passwort zu behalten', + 'host_configured_note' => 'Eingerichtet als :user — Passwort ist gespeichert. Leer lassen zum Behalten; neues eingeben zum Ändern.', 'host_secret_required_for_auth_change' => 'Bei Wechsel der Authentifizierungsmethode muss das Login neu eingegeben werden.', 'host_security_note' => 'Dieses Login gibt dem Web-Terminal eine Shell auf dem Host. Verschlüsselt gespeichert, nur über das interne Netz genutzt.', 'host_save' => 'Speichern', diff --git a/lang/en/terminal.php b/lang/en/terminal.php index f1f2192..88ca869 100644 --- a/lang/en/terminal.php +++ b/lang/en/terminal.php @@ -37,6 +37,7 @@ return [ 'host_field_key' => 'Private SSH key', 'host_field_passphrase' => 'Passphrase (optional)', 'host_secret_keep' => 'Leave blank to keep the stored password', + 'host_configured_note' => 'Configured as :user — password is stored. Leave blank to keep it; enter a new one to change it.', 'host_secret_required_for_auth_change' => 'Switching the authentication method requires entering the login again.', 'host_security_note' => 'This login gives the web terminal a shell on the host. Stored encrypted, used only over the internal network.', 'host_save' => 'Save', diff --git a/resources/views/livewire/modals/host-shell.blade.php b/resources/views/livewire/modals/host-shell.blade.php index 1114983..a12148c 100644 --- a/resources/views/livewire/modals/host-shell.blade.php +++ b/resources/views/livewire/modals/host-shell.blade.php @@ -9,6 +9,15 @@ + @if ($configured) + {{-- Make the saved state unmistakable: the stored secret is never shown (security), so without + this the empty password field reads as "not configured". --}} +