Skip to content

Commit 340803c

Browse files
shethaaditAdit Sheth
and
Adit Sheth
authored
Breaking change fix for ConcurrencyStamp to initialize with new Guid. (#57553)
Co-authored-by: Adit Sheth <[email protected]>
1 parent 292980f commit 340803c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Identity/Extensions.Stores/src/IdentityRole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public IdentityRole(string roleName) : this()
7272
/// <summary>
7373
/// A random value that should change whenever a role is persisted to the store
7474
/// </summary>
75-
public virtual string? ConcurrencyStamp { get; set; }
75+
public virtual string? ConcurrencyStamp { get; set; } = Guid.NewGuid().ToString();
7676

7777
/// <summary>
7878
/// Returns the name of the role.

0 commit comments

Comments
 (0)