Fixed : Certificates arent stored properly app-side when creating new profiles

This commit is contained in:
2026-06-11 11:12:31 +02:00
parent 08dd27d91d
commit 84b77d99f6
+4 -1
View File
@@ -393,7 +393,10 @@
if (_editing == null)
{
_form.Id = Guid.NewGuid().ToString();
// Keep the Id assigned by the TenantProfile constructor. "Register app" may have
// already provisioned the cert and stored it on disk under this Id; reassigning a
// fresh Guid here would orphan that cert file and make the UI re-prompt for upload.
if (string.IsNullOrEmpty(_form.Id)) _form.Id = Guid.NewGuid().ToString();
_profiles.Add(_form);
}
else