saving certs sooner in the stack

This commit is contained in:
Godfrey M
2025-06-16 16:30:00 -07:00
parent ec059717f6
commit 013ad1069c
2 changed files with 5 additions and 0 deletions
@@ -130,6 +130,10 @@ class SettingsSamlRequest extends FormRequest
'saml_sp_x509cert' => $x509cert,
'saml_sp_privatekey' => $privateKey,
]);
$setting = Setting::getSettings();
$setting->saml_sp_x509cert = $x509cert;
$setting->saml_sp_privatekey = $privateKey;
$setting->save();
}
} else {
$validator->errors()->add('saml_integration', 'openssl.cnf is missing/invalid');
+1
View File
@@ -85,6 +85,7 @@
<label for="saml_sp_x509cert">{{ trans('admin/settings/general.saml_sp_x509cert') }}</label>
<x-input.textarea
name="saml_sp_x509cert"
id="saml_sp_x509cert"
:value="$setting->saml_sp_x509cert"
wrap="off"
readonly