Skip to content

Commit 5634ac4

Browse files
authored
Make GetChangeEmailTokenPurpose public
1 parent 33055d9 commit 5634ac4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Identity/Extensions.Core/src/UserManager.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,16 +2463,13 @@ private IUserClaimStore<TUser> GetClaimStore()
24632463
return cast;
24642464
}
24652465

2466-
24672466
/// <summary>
24682467
/// Generates the token purpose used to change email.
24692468
/// </summary>
24702469
/// <param name="newEmail">The new email address.</param>
24712470
/// <returns>The token purpose.</returns>
2472-
protected static string GetChangeEmailTokenPurpose(string newEmail)
2473-
{
2474-
return "ChangeEmail:" + newEmail;
2475-
}
2471+
public static string GetChangeEmailTokenPurpose(string newEmail)
2472+
=> "ChangeEmail:" + newEmail;
24762473

24772474
/// <summary>
24782475
/// Should return <see cref="IdentityResult.Success"/> if validation is successful. This is

0 commit comments

Comments
 (0)