1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

[EC-489] chore: remove obsolete identifier field (#2635)

* [EC-489] chore: remove obsolete `identifier` field

* [EC-489] chore: remove identifier from org response model
This commit is contained in:
Andreas Coroiu
2023-02-08 16:33:45 +01:00
committed by GitHub
parent e3fdb2636b
commit 04c4be8a15
2 changed files with 0 additions and 6 deletions

View File

@ -12,9 +12,6 @@ public class OrganizationUpdateRequestModel
public string Name { get; set; }
[StringLength(50)]
public string BusinessName { get; set; }
[Obsolete("2022-08-03 Moved to Org SSO request model, left for backwards compatability. Remove with EC-489.")]
[StringLength(50)]
public string Identifier { get; set; }
[EmailAddress]
[Required]
[StringLength(256)]
@ -31,7 +28,6 @@ public class OrganizationUpdateRequestModel
existingOrganization.BusinessName = BusinessName;
existingOrganization.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim();
}
existingOrganization.Identifier = Identifier;
Keys?.ToOrganization(existingOrganization);
return existingOrganization;
}