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');