From 4a2d45187ddd237dfe6bb6f76eb48ba4df5f8579 Mon Sep 17 00:00:00 2001 From: Adit Sheth Date: Tue, 27 Aug 2024 13:21:04 -0700 Subject: [PATCH] Breaking change fix for ConcurrencyStamp to initialize with new Guid. --- src/Identity/Extensions.Stores/src/IdentityRole.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Identity/Extensions.Stores/src/IdentityRole.cs b/src/Identity/Extensions.Stores/src/IdentityRole.cs index 02da6b7eb095..eef92abe586a 100644 --- a/src/Identity/Extensions.Stores/src/IdentityRole.cs +++ b/src/Identity/Extensions.Stores/src/IdentityRole.cs @@ -72,7 +72,7 @@ public IdentityRole(string roleName) : this() /// /// A random value that should change whenever a role is persisted to the store /// - public virtual string? ConcurrencyStamp { get; set; } + public virtual string? ConcurrencyStamp { get; set; } = Guid.NewGuid().ToString(); /// /// Returns the name of the role.