1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}

View File

@ -17,7 +17,6 @@ public class OrganizationResponseModel : ResponseModel
}
Id = organization.Id.ToString();
Identifier = organization.Identifier;
Name = organization.Name;
BusinessName = organization.BusinessName;
BusinessAddress1 = organization.BusinessAddress1;
@ -51,7 +50,6 @@ public class OrganizationResponseModel : ResponseModel
}
public string Id { get; set; }
public string Identifier { get; set; }
public string Name { get; set; }
public string BusinessName { get; set; }
public string BusinessAddress1 { get; set; }