Fixed : Certificates arent stored properly app-side when creating new profiles
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user